/* Frontend Booking Form Styles */
/* Already included inline in class-shortcodes.php */
/* You can extract those styles here for better organization */

.apm-booking-form-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.apm-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px;
	gap: 0;
}

.apm-progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.apm-progress-dot {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e0e0e0;
	color: #999;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.apm-progress-step.active .apm-progress-dot {
	background: #ad47f1;
	color: #fff;
	box-shadow: 0 0 0 4px rgba(0,115,170,0.2);
}

.apm-progress-step.completed .apm-progress-dot {
	background: #00a32a;
	color: #fff;
}

.apm-progress-label {
	font-size: 12px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.apm-progress-step.active .apm-progress-label {
	color: #ad47f1;
	font-weight: 600;
}

.apm-progress-step.completed .apm-progress-label {
	color: #00a32a;
}

.apm-progress-line {
	width: 60px;
	height: 3px;
	background: #e0e0e0;
	margin: 0 8px;
	position: relative;
	top: -14px;
	transition: background 0.3s;
}

.apm-progress-step.completed + .apm-progress-line {
	background: #00a32a;
}

.apm-progress-step.active + .apm-progress-line {
	background: #ad47f1;
}

@media (max-width: 600px) {
	.apm-progress-line {
		width: 30px;
	}
	.apm-progress-label {
		font-size: 10px;
	}
}

.apm-booking-form {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	padding: 30px;
}

.apm-step h2 {
	margin-top: 0;
	margin-bottom: 20px;
	color: #333;
}

/**.apm-btn {
	display: inline-block;
	background: #ad47f1;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	text-decoration: none;
	transition: background 0.3s;
}

.apm-btn:hover {
	background: #005a87;
} **/

.apm-btn {
    font-weight: 500;
    border-radius: 8px;
    margin: 0;
    padding: 12px 15px;
    /**min-width: 200px;**/
    display: inline-block;
    background-color: #ad47f1 !important;
    border: 1px solid #ad47f1 !important;
    color: #ffffff;
    font-size: 18px;
    box-shadow: inset 0 0 0 0 #ffffff;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
	text-align: center;
}

.apm-btn:hover {
    color: #ad47f1;
    border-color: #ad47f1;
    background-color: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
}

.apm-btn-primary {
	background: #00a32a;
}

.apm-btn-primary:hover {
	background: #008a20;
}

.apm-btn-back {
	background: #f0f0f1;
	color: #2c3338;
	border: 1px solid #dcdcde;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	margin-bottom: 20px;
}

.apm-btn-back:hover {
	background: #e0e0e1;
}

.apm-locations-grid,
.apm-services-grid,
.apm-specialists-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.apm-location-card,
.apm-service-card,
.apm-specialist-card {
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	text-align: center;
	transition: all 0.3s;
	cursor: pointer;
}

.apm-location-card:hover,
.apm-service-card:hover,
.apm-specialist-card:hover {
	border-color: #ad47f1;
	box-shadow: 0 4px 12px rgba(0,115,170,0.2);
}

.apm-location-card img,
.apm-specialist-card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 8px 8px 0 0;
}

.apm-location-card h3,
.apm-service-card h3,
.apm-specialist-card h3 {
	margin: 10px 0;
	color: #ad47f1;
}

.apm-location-address,
.apm-service-description,
.apm-specialist-position {
	font-size: 14px;
	color: #666;
	margin-bottom: 15px;
}

.apm-location-card,
.apm-service-card,
.apm-specialist-directory-card {
    position: relative;
}

.apm-location-card .apm-btn,
.apm-service-card .apm-btn,
.apm-specialist-directory-card .apm-btn {
    position: relative;
    z-index: 2;
}

.apm-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.apm-service-meta {
	display: flex;
	justify-content: space-around;
	margin: 10px 0;
	font-size: 14px;
	color: #666;
}

.apm-datetime-selection {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-top: 20px;
}

@media (max-width: 768px) {
	.apm-datetime-selection {
		grid-template-columns: 1fr;
	}
}

.apm-calendar-wrapper,
.apm-timeslots-wrapper {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
}

.apm-calendar-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.apm-btn-icon {
	background: #ad47f1;
	color: #fff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
}

#apm-calendar {
	background: #fff;
	border-radius: 8px;
	padding: 10px;
}

.apm-calendar-day {
	display: inline-block;
	text-align: center;
	padding: 10px 5px;
	margin: 2px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
}

.apm-calendar-day.has-slots {
	background: #d1fae5;
	color: #065f46;
	font-weight: 600;
}

.apm-calendar-day:hover:not(.disabled):not(.other-month) {
	background: #e0f2ff;
	transform: scale(1.05);
}

.apm-calendar-day.has-slots:hover {
	background: #a7f3d0;
}

.apm-calendar-day.selected {
	background: #ad47f1 !important;
	color: #fff !important;
}

.apm-calendar-day.disabled {
	color: #ccc;
	cursor: not-allowed;
	background: #f5f5f5;
}

.apm-calendar-day.other-month {
	color: #999;
	visibility: hidden;
}

.apm-calendar-day.today {
	border: 2px solid #00a32a;
}

.apm-calendar-day.today.has-slots {
	border-color: #065f46;
}

.apm-timeslot {
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	padding: 12px;
	margin-bottom: 10px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
}

.apm-timeslot:hover {
	border-color: #ad47f1;
	background: #e0f2ff;
}

.apm-timeslot.selected {
	background: #ad47f1;
	color: #fff;
	border-color: #ad47f1;
}

.apm-booking-summary {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.apm-summary-item {
	padding: 10px 0;
	border-bottom: 1px solid #e0e0e0;
}

.apm-summary-item:last-child {
	border-bottom: none;
}

.apm-summary-item strong {
	display: inline-block;
	width: 150px;
	color: #666;
}

.apm-form-group {
	margin-bottom: 20px;
    border-left: 3px solid #e5e7eb;
    padding-left: 10px;
}

.apm-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.apm-form-group input,
.apm-form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-size: 16px;
}

.apm-form-group input:focus,
.apm-form-group textarea:focus {
	outline: none;
	border-color: #ad47f1;
}

.apm-step-success {
	text-align: center;
}

.apm-step-success h2 {
	color: #00a32a;
}

.apm-step-success .apm-success-icon {
	width: 60px;
	height: 60px;
	background: #00a32a;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	margin: 0 auto 15px;
}

#apm-success-details {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
	margin: 20px 0;
	text-align: left;
}

.apm-error {
	color: #d63638;
	padding: 15px;
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	border-radius: 4px;
}

.apm-info {
	color: #2c3338;
	padding: 15px;
	background: #f0f6fc;
	border-left: 4px solid #ad47f1;
	border-radius: 4px;
}

.apm-loading {
	text-align: center;
	padding: 40px;
	color: #666;
}

.apm-loading:after {
	content: '...';
	animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
	0%, 20% { content: '.'; }
	40% { content: '..'; }
	60%, 100% { content: '...'; }
}


/** LOGIN **/

.apm-login-required {
	max-width: 500px;
	margin: 40px auto;
	padding: 20px;
}

.apm-login-box {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	padding: 40px;
	text-align: center;
}

.apm-login-box h2 {
	margin-top: 0;
	color: #333;
}

.apm-login-box p {
	color: #666;
	margin-bottom: 30px;
}

.apm-login-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-bottom: 20px;
}

.apm-login-note {
	font-size: 14px;
	color: #666;
	border-top: 1px solid #e0e0e0;
	padding-top: 20px;
	margin-top: 20px;
}

.apm-login-note a {
	color: #ad47f1;
	text-decoration: none;
}

.apm-login-note a:hover {
	text-decoration: underline;
}


/** MY APPOINTMENTS **/

.apm-my-appointments {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.apm-appointments-list {
	margin-top: 30px;
}

.apm-appointment-item {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	padding: 20px;
	margin-bottom: 20px;
	border-left: 4px solid #ddd;
	font-size: 18px;
}

.apm-appointment-item.apm-status-pending {
	border-left-color: #f59e0b;
}

.apm-appointment-item.apm-status-confirmed {
	border-left-color: #10b981;
}

.apm-appointment-item.apm-status-canceled {
	border-left-color: #ef4444;
	opacity: 0.7;
}

.apm-appointment-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e0e0e0;
}

.apm-appointment-header h3 {
	margin: 0;
	color: #ad47f1;
}

.apm-appointment-status {
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
}

.apm-appointment-status.apm-status-pending {
	background: #fef3c7;
	color: #92400e;
}

.apm-appointment-status.apm-status-confirmed {
	background: #d1fae5;
	color: #065f46;
}

.apm-appointment-status.apm-status-canceled {
	background: #fee2e2;
	color: #991b1b;
}

.apm-appointment-details p {
	margin: 8px 0;
	color: #666;
}

.apm-appointment-actions {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
}

.apm-btn-cancel {
	background: #d63638;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
}

.apm-btn-cancel:hover {
	background: #b32d2e;
}

.apm-btn.apm-btn-danger {
	background: #d63638 !important;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s;
}

.apm-btn.apm-btn-danger:hover {
	background: #b32d2e !important;
}

/* Specialist Directory Styles */
.apm-specialists-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.apm-directory-header {
    text-align: center;
    margin-bottom: 30px;
}

.apm-directory-header h2 {
    display: none;
}

.apm-directory-filters {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.apm-filter-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

@media (max-width: 768px) {
    .apm-filter-row {
        grid-template-columns: 1fr;
    }
}

.apm-filter-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.apm-filter-item input,
.apm-filter-item select {
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.apm-filter-item input[type="number"] {
    width: 100%;
    min-width: 0;
}

.apm-directory-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 16px;
}

@media (max-width: 768px) {
    .apm-directory-controls {
        flex-direction: column;
        gap: 10px;
    }

    .apm-sorting,
    .apm-per-page {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        width: 100%;
    }

    .apm-sorting select,
    .apm-per-page select {
        width: 100%;
    }

    .apm-sorting label,
    .apm-per-page label,
    .apm-per-page span {
        display: none;
    }

    .apm-filter-item label {
        display: none;
    }

    .apm-filter-item .apm-btn + .apm-btn {
        margin-top: 15px;
    }

    .apm-directory-filters,
    .apm-directory-controls {
        display: none;
    }
}

button.apm-filter-sort-toggle {
    display: none !important;
    width: 100% !important;
    padding: 12px;
    background: #ad47f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

button.apm-filter-sort-toggle:hover,
button.apm-filter-sort-toggle:active,
button.apm-filter-sort-toggle:focus {
    background: #ad47f1;
    color: #fff;
    opacity: 1;
}

@media (max-width: 768px) {
    button.apm-filter-sort-toggle {
        display: block !important;
    }
}

.apm-sorting {
    min-width: 285px;
}

.apm-sorting,
.apm-per-page {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apm-sorting select,
.apm-per-page select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.apm-services-list-wrapper .apm-directory-controls .apm-sorting form {
    display: contents !important;
}

.apm-specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 20px;
}

.apm-specialist-directory-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.apm-specialist-directory-card:hover {
    border-color: #ad47f1;
    box-shadow: 0 4px 12px rgba(0,115,170,0.2);
    transform: translateY(-4px);
}

.apm-specialist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: left;
}

.apm-specialist-info .apm-service-actions {
    margin-top: auto;
}

.apm-specialist-directory-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.apm-specialist-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.apm-specialist-directory-card .apm-service-actions .apm-btn {
    width: 100%;
}

.apm-specialist-info h3 {
    margin: 0 0 5px;
    color: #ad47f1;
}

.apm-specialist-position,
.apm-specialist-school,
.apm-specialist-target-groups {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px;
}

.apm-specialist-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.apm-stat {
    font-size: 14px;
    color: #666;
}

.apm-stat strong {
    display: block;
    font-size: 20px;
    color: #333;
}

.apm-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.apm-pagination-btn {
    padding: 10px 20px;
    background: #ad47f1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.apm-pagination-btn:hover {
    background: #005a87;
}

.apm-pagination-info {
    color: #666;
}

.apm-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Specialist Profile Styles */
.apm-specialist-profile {
    max-width: 1000px;
    margin: 0 auto;
}


.apm-profile-header {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .apm-profile-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.apm-profile-image img {
    width: 100%;
    /**height: 300px;**/
    object-fit: cover;
    border-radius: 8px;
}

.apm-profile-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 10%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
}

.apm-profile-main-info h1 {
    margin: 0 0 10px;
}

.apm-profile-position {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.apm-profile-contact {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.apm-contact-item {
    margin-bottom: 10px;
}

.apm-contact-item:last-child {
    margin-bottom: 0;
}

.apm-protected-email,
.apm-protected-phone {
    color: #333;
    user-select: none;
}

.apm-profile-section {
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.apm-profile-section h2 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ad47f1;
}

.apm-profile-details {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

.apm-profile-description {
    line-height: 1.8;
    color: #333;
    flex: 1 1 60%;
    min-width: 280px;
}

.apm-profile-fields {
    flex: 1 1 30%;
    min-width: 200px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
}

.apm-field-row {
    margin-bottom: 10px;
    line-height: 1.6;
}

.apm-field-row:last-child {
    margin-bottom: 0;
}

.apm-field-label {
    font-weight: 600;
    color: #555;
    display: inline;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apm-field-value {
    color: #333;
    display: inline;
}

.apm-field-value::before {
    content: ' ';
}

.apm-location-block {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.apm-location-block:last-child {
    margin-bottom: 0;
}

.apm-location-block h3 {
    margin-top: 0;
    color: #ad47f1;
}

.apm-location-address {
    color: #666;
    margin-bottom: 15px;
}

.apm-services-list {
    /* margin-top: 15px; */
    margin-bottom: 30px;
}

.apm-services-list ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 15px;
}

.apm-services-list li {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    border-left: 3px solid #ad47f1;
    transition: all 0.3s;
    cursor: pointer;
}

.apm-services-list li:hover {
    border-color: #ad47f1;
    box-shadow: 0 4px 12px rgba(0,115,170,0.2);
}

.apm-location-map {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.apm-map {
    width: 100%;
    height: 300px;
}

.apm-map-placeholder {
    background: #e9ecef;
    padding: 40px;
    text-align: center;
    color: #666;
}

.apm-profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.apm-profile-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.apm-profile-gallery img:hover {
    transform: scale(1.05);
}

.apm-profile-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .apm-profile-actions {
        flex-direction: column;
    }
}

.apm-btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Comments and Ratings Styles */
.apm-comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid #ad47f1;
}

.apm-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.apm-rating-display {
    font-size: 20px;
    margin-bottom: 20px;
}

.apm-rating-display .dashicons {
    color: #f0c020;
}

.apm-comments-list {
    margin-bottom: 30px;
}

.apm-comment {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #ad47f1;
}

.apm-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.apm-comment-author {
    font-weight: 600;
}

.apm-comment-date {
    color: #666;
    font-size: 14px;
}

.apm-comment-content {
    margin-bottom: 10px;
}

.apm-comment-rating {
    margin-bottom: 10px;
}

.apm-comment-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.apm-form-group {
    margin-bottom: 20px;
}

.apm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.apm-rating-input {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.apm-rating-input input[type="radio"] {
    display: none;
}

.apm-rating-input label {
    font-size: 24px;
    cursor: pointer;
    margin: 0;
}

.apm-rating-input label:hover,
.apm-rating-input input[type="radio"]:checked + label {
    color: #f0c020;
}

.apm-form-group textarea,
.apm-form-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.apm-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.apm-page-link,
.apm-appt-page-link {
    padding: 8px 15px;
    background: #ad47f1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.apm-page-link.current,
.apm-page-link:hover,
.apm-appt-page-link.active,
.apm-appt-page-link:hover {
    background: #005a87;
}

/* Inline Booking Form Styles */
.apm-profile-booking-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid #ad47f1;
}

.apm-inline-booking-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.apm-inline-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .apm-inline-form-grid {
        grid-template-columns: 1fr;
    }
}

.apm-inline-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.apm-inline-select,
.apm-inline-form-group input,
.apm-inline-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.apm-btn-back-inline {
    background: #f0f0f1;
    color: #2c3338;
    border: 1px solid #dcdcde;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
}

.apm-inline-datetime {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .apm-inline-datetime {
        grid-template-columns: 1fr;
    }
}

.apm-inline-calendar-wrapper,
.apm-inline-timeslots-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.apm-inline-calendar-day.has-slots {
    background: #d1fae5;
    color: #065f46;
    border-radius: 4px;
    cursor: pointer;
}

.apm-inline-calendar-day.has-slots:hover {
    background: #a7f3d0;
}

.apm-inline-calendar-day.disabled {
    color: #ccc;
    cursor: default;
}

.apm-inline-calendar-day.selected {
    background: #ad47f1;
    color: #fff;
    border-radius: 4px;
}

.apm-inline-summary {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.apm-inline-step-success .apm-success-icon {
    width: 60px;
    height: 60px;
    background: #00a32a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
}

.apm-inline-step-success .apm-btn + .apm-btn {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .apm-inline-step-success .apm-btn + .apm-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* User Profile Styles */
.apm-user-profile {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.apm-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.apm-message.apm-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.apm-message.apm-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.apm-profile-header-section {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.apm-profile-avatar img {
    border-radius: 50%;
    border: 4px solid #ad47f1;
    object-fit: cover;
    width: 120px;
    height: 120px;
}

.apm-profile-welcome h1 {
    margin: 0 0 10px;
}

.apm-profile-email {
    color: #666;
    margin: 5px 0;
}

.apm-profile-member-since {
    color: #999;
    font-size: 14px;
}

.apm-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.apm-profile-stat {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.apm-stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #ad47f1;
    margin-bottom: 5px;
}

.apm-stat-label {
    color: #666;
    font-size: 14px;
}

.apm-profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
    border-bottom: 2px solid #e0e0e0;
}

.apm-tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 600;
}

.apm-tab-btn:hover {
    color: #ad47f1;
    font-weight: 600;
}

.apm-tab-btn.active {
    color: #ad47f1;
    border-bottom-color: #ad47f1;
    font-weight: 600;
}

.apm-tab-content {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.apm-tab-content.active {
    display: block;
}

/* Appointments Sub-tabs */
.apm-appointments-subtabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f1;
}

.apm-subtab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 15px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.apm-subtab-btn:hover {
    color: #ad47f1;
    background: #f9f9f9;
    font-weight: 600;
}

.apm-subtab-btn.active {
    color: #ad47f1;
    border-bottom-color: #ad47f1;
    font-weight: 600;
}

.apm-badge {
    background: #e0e0e0;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.apm-subtab-btn.active .apm-badge {
    background: #ad47f1;
    color: #fff;
}

.apm-subtab-content {
    display: none;
}

.apm-subtab-content.active {
    display: block;
}

.apm-no-appointments {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

/* Appointments List Styles */
.apm-appointments-list {
    display: grid;
    gap: 20px;
}

.apm-appointment-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #ddd;
    transition: transform 0.3s, box-shadow 0.3s;
}

.apm-appointment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.apm-appointment-card.pending {
    border-left-color: #f59e0b;
}

.apm-appointment-card.confirmed {
    border-left-color: #10b981;
}

.apm-appointment-card.canceled {
    border-left-color: #ef4444;
    opacity: 0.7;
}

.apm-appointment-card.completed {
    border-left-color: #3b82f6;
    opacity: 0.8;
}

.apm-appt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.apm-appt-header h3 {
    margin: 0;
    color: #ad47f1;
}

.apm-appt-details p {
    margin: 8px 0;
    color: #666;
}

.apm-appt-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.apm-appt-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f0f1;
    padding: 10px;
    border-radius: 8px;
    min-width: 60px;
    margin-right: 20px;
}

.apm-day {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.apm-month {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

.apm-appt-details {
    flex-grow: 1;
}

.apm-appt-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.apm-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apm-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.apm-status-badge.confirmed {
    background: #d1fae5;
    color: #065f46;
}

.apm-status-badge.canceled {
    background: #fee2e2;
    color: #991b1b;
}

.apm-status-badge.completed {
    background: #dbeafe;
    color: #1e40af;
}

.apm-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #555;
}

.apm-info-row .dashicons {
    color: #ad47f1;
}

.apm-btn-cancel {
    background: #d63638;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.apm-btn-cancel:hover {
    background: #b32d2e;
}

.apm-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.apm-tab-header h2 {
    margin: 0;
}

/* Profile View Mode Styles */
.apm-profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 800px;
}

.apm-info-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #ad47f1;
}

.apm-info-item label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.apm-info-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Edit Mode Styles */
.apm-profile-form {
    max-width: 600px;
}

.apm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.apm-form-group {
    margin-bottom: 20px;
}

.apm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.apm-form-group input,
.apm-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 16px;
}

.apm-form-group input:focus {
    outline: none;
    border-color: #ad47f1;
}

.apm-form-group input:disabled {
    background: #f0f0f1;
    cursor: not-allowed;
}

.apm-field-description {
    margin: 5px 0 0;
    font-size: 13px;
    color: #666;
}

.apm-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .apm-profile-header-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .apm-profile-avatar {
        margin: 0 auto;
    }
    
    .apm-profile-stats {
        grid-template-columns: 1fr;
    }
    
    .apm-profile-info-grid,
    .apm-form-row {
        grid-template-columns: 1fr;
    }
    
    .apm-profile-tabs {
        flex-direction: column;
    }
}

/* reCAPTCHA Badge Styles from API Helpers */
.grecaptcha-badge {
    z-index: 9999;
}
/* Profile Image Upload */
.apm-profile-avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.apm-profile-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.apm-avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.apm-profile-avatar-container:hover .apm-avatar-overlay {
    opacity: 1;
}

.apm-avatar-btn {
    background: #fff;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
    padding: 0;
}

.apm-avatar-btn:hover {
    background: #f0f0f1;
    transform: scale(1.1);
}

.apm-avatar-remove-btn {
    color: #dc3545;
}

.apm-avatar-remove-btn:hover {
    background: #fee2e2;
}

.apm-profile-avatar-container.apm-loading .apm-avatar-img {
    opacity: 0.5;
}

.apm-profile-avatar-container.apm-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 8px;
    animation: apm-spin 1s linear infinite;
    z-index: 10;
}

@keyframes apm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* QR Code Fixes */
#apm-qrcode canvas {
    width: 128px !important;
    height: 128px !important;
    display: block !important;
    margin: 0 auto;
    max-width: none !important;
}

#apm-qrcode img {
    display: none !important; /* Hide the fallback image element */
}

/* Lightbox */
.apm-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.apm-lightbox.active {
    display: flex;
}
.apm-lightbox-content {
    max-width: 90%;
    max-height: 90%;
}
.apm-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.apm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 99999;
}
.apm-lightbox-close:hover { color: #ccc; }
.apm-lightbox-prev,
.apm-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    z-index: 99999;
}
.apm-lightbox-prev { left: 20px; }
.apm-lightbox-next { right: 20px; }
.apm-lightbox-prev:hover,
.apm-lightbox-next:hover { color: #ccc; }
.apm-lightbox-prev.disabled,
.apm-lightbox-next.disabled { opacity: 0.3; cursor: default; }

.apm-profile-section .apm-services-list ul li a,
.apm-profile-section .apm-location-block h3 a {
    text-decoration: none !important;
}

.apm-search-module-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.apm-search-module-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.apm-search-module-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    background: inherit;
    margin-right: -80px;
    padding-right: 120px;
}

.apm-search-module-title {
    font-size: 2rem;
    margin: 0 0 20px;
    line-height: 1.3;
}

.apm-search-module-form {
    width: 100%;
}

.apm-search-module-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 5px;
}

.apm-search-module-field {
    display: flex;
    flex-direction: column;
}

.apm-search-module-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.apm-search-module-field input,
.apm-search-module-field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
}

.apm-search-module-field .apm-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.apm-search-module-image {
    flex-shrink: 0;
    overflow: hidden;
}

.apm-search-module-image img {
    display: block;
    width: auto;
    height: auto;
    object-fit: cover;
}

.apm-search-module-inner.apm-search-module-image-left {
    flex-direction: row-reverse;
}

.apm-search-module-inner.apm-search-module-image-left .apm-search-module-content {
    margin-right: 0;
    margin-left: -80px;
    padding-left: 120px;
    padding-right: 40px;
}

@media (max-width: 768px) {
    .apm-search-module-inner {
        flex-direction: column;
    }

    .apm-search-module-inner.apm-search-module-image-left {
        flex-direction: column;
    }

    .apm-search-module-content,
    .apm-search-module-inner.apm-search-module-image-left .apm-search-module-content {
        margin: 0;
        padding: 25px;
    }

    .apm-search-module-title {
        font-size: 1.5rem;
    }

    .apm-search-module-fields {
        width: 100% !important;
    }

    .apm-search-module-image {
        width: 100%;
    }
}

.apm-search-module {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.apm-search-module form {
    flex:1;
}

.apm-search-module-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apm-search-module-form-item {
    display: flex;
    flex-direction: column;
}

.apm-custom-select {
    position: relative;
    width: 100%;
}

.apm-custom-select select {
    display: none;
}

.apm-custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 9px 9px 8px 9px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
    font-size: 13px;
    color: #000;
    font-family: sans-serif;
	height: 49px;
}

.apm-custom-select-text.placeholder {
    color: #6c6c6c;
    background: #fff;
    padding-left: 7px;
    font-size: 14px;
    font-family: sans-serif;
}

.apm-custom-select-arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.2s;
}

.apm-custom-select.open .apm-custom-select-arrow {
    transform: rotate(180deg);
}

.apm-custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-family: sans-serif;
}

.apm-custom-select-option {
    padding: 10px;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    transition: background 0.15s;
    height: 20px;
    font-size: 13px;
	height: 40px;
}

.apm-custom-select-option:hover,
.apm-custom-select-option.active {
    background: #e9e9e9;
}

.apm-custom-select.open .apm-custom-select-options {
    display: block;
}

.apm-custom-select.open .apm-custom-select-trigger {
    border-bottom: 1px solid #EEE;
    border-radius: 4px 4px 0 0;
}

.header-icon, .banner-arrow-img {
	z-index: -20;
}

.apm-profile-section.book {
    text-align: center;
}

.apm-profile-section.book a {
    width: 100%;
}

@media (max-width: 768px) {

    .has-global-padding {
        padding-right: 20px;
        padding-left: 20px;
    }

    .apm-profile-main-info h1 {
        text-align: left;
    }

    .apm-profile-contact {
        text-align: left;
    }

    .apm-comments-header {
        flex-direction: column;
        text-align: left;
        align-items: normal;
    }

    .apm-profile-section {
        padding: 20px;
    }

    .apm-comment-form {
        background: #ffffff;
        padding: 0px;
        border-radius: 8px;
        margin-top: 20px;
    }

    .apm-booking-form {
        padding: 20px 0px;
    }

    .apm-booking-summary {
        background: #f9f9f9;
        padding: 20px 10px;
    }

    .apm-summary-item strong {
        display: inline-block;
        width: auto;
        color: #666;
}

    .apm-summary-item {
        text-align: left;
    }

    .apm-summary-item span {
        font-size: 14px;
    }

    #apm-book-another {
        margin: 0 5px 20px 5px;
    }
}

/* Featured Specialists Module */
.apm-featured-specialists-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 20px 15px;
}

.apm-featured-specialists-carousel {
    overflow: hidden;
    width: 100%;
}

.apm-featured-specialists-track {
    display: flex;
    margin-bottom: 10px;
    transition: transform 0.35s ease-in-out;
}

.apm-featured-specialist-slide {
    /**flex: 0 0 auto;**/
    box-sizing: border-box;
    padding: 0 10px;
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 5px;
}

.apm-featured-specialist-slide .apm-specialist-directory-card {
    cursor: default;
    height: 100%;
}

.apm-featured-specialist-slide .apm-specialist-directory-card:hover {
    transform: none;
}

.apm-featured-specialist-slide .apm-specialist-info h3 {
    text-align: left;
	height: 55px;
	font-size: 20px;
}

.apm-featured-specialist-slide .apm-specialist-directory-card img {
    object-fit: cover;
    height: 200px !important;
}

@media (max-width: 768px) {
    .apm-featured-specialist-slide .apm-specialist-directory-card img {
		object-fit: cover;
		height: auto !important;
	}
	.apm-featured-specialist-slide {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	}
}

.apm-featured-contact {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.apm-featured-contact .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.apm-featured-online .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.apm-featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.apm-featured-nav:hover {
    border-color: #ad47f1;
    color: #ad47f1;
    box-shadow: 0 2px 8px rgba(0,115,170,0.2);
}

.apm-featured-nav-prev {
    left: 5px;
}

.apm-featured-nav-next {
    right: 5px;
}

.apm-featured-dots {
    text-align: center;
    padding: 15px 0 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.apm-featured-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.apm-featured-dots button.active {
    background: #ad47f1;
    border-color: #ad47f1;
}

.apm-featured-dots button:hover {
    border-color: #ad47f1;
}

 .apm-ft-card-button {
    margin-bottom: 5px;
}

.apm-profile-main-info h1, .apm-service-detail-header h1, .apm-specialist-info h3 {
	color: #ad47f1;
}

@media (max-width: 768px) {
    .apm-featured-specialists-wrapper {
        padding: 20px 15px;
    }
    .apm-featured-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .apm-featured-specialist-slide {
        max-width: 100%;
        min-width: 100%;
    }
	
	.home div#content {
    margin-top: 55px !important;
	}
}


@media (min-width: 1400px) {
    .doccure_header.container {
        max-width: 1320px !important;
    }
	header.inner-header .header-nav .logo {
		width: auto !important;
		max-width: 100% !important;
	}
}


@media (min-width: 1200px) {
    .doccure_header.container {
        max-width: 1320px !important;
    }
	header.inner-header .header-nav .logo {
		width: auto !important;
		max-width: 100% !important;
	}
}

@media (max-width: 1199.96px) {
    header.inner-header .header-nav .logo {
		width: auto !important;
		max-width: 100% !important;
		margin: 0 auto !important;
	}
	.apm-search-module-wrapper {
		max-width: 1060px !important;
	}
}


@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1320px !important;
    }
}


@media (max-width: 991px) {
    header.inner-header .header-nav .navbar-header {
		width: 100% !important;
	}
}

@media (max-width: 768px) {
            .apm-location-block {
                width: 100% !important;
            }
            .entry-content ul, .entry-content ol {
                padding-left: 0px !important;
            }
}

.apm-services-list ul, .apm-services-list ol {
    padding-left: 0px !important;
}

.apm-services-list ul li + li, .apm-services-list ol li + li {
    margin-top: 0px !important;
}
