:root {
    --primary: #669966;
    --primary-hover: #4f7f4f;
    --secondary: #cc9966;
    --secondary-hover: #b07f4f;
    --accent: #3f5d7d;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #fff;
    --footer-bg: #f8f8f8;
    --border-color: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

button,
a,
select,
input,
textarea {
    cursor: pointer;
    font-family: "Instrument Sans", sans-serif;
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: "Varela Round", sans-serif;
}

.title-highlight {
    color: #d4af37;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.booking-main {
    /* min-height: 100vh; */
    background: var(--bg-light);
    padding: 80px 20px 60px;
}

.booking-container {
    max-width: 1400px;
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-title {
    font-family: 'Varela Round', sans-serif;
    font-size: 28px;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-weight: 400;
}

.booking-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.progress-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.progress-number {
    font-family: 'Varela Round', sans-serif;
    font-size: 14px;
    color: #999;
    transition: color 0.3s ease;
}

.progress-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #999;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.progress-step.active .progress-indicator {
    background: var(--primary);
    border-color: var(--primary);
}

.progress-step.active .progress-number {
    color: var(--text-light);
}

.progress-step.active .progress-label {
    color: var(--primary);
    font-weight: 600;
}

.progress-step.completed .progress-indicator {
    background: var(--primary);
    border-color: var(--primary);
}

.progress-step.completed .progress-number {
    display: none;
}

.progress-step.completed .progress-indicator::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--text-light);
    font-size: 14px;
}

.progress-step.completed .progress-label {
    color: var(--primary);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #e5e5e5;
    margin: 0 8px;
    position: relative;
    max-width: 100px;
}

.progress-line.completed {
    background: var(--primary);
}

.booking-content {
    position: relative;
    min-height: 400px;
}

.booking-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.booking-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 40px;
    gap: 12px;
}

.booking-navigation button {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
}

.btn-outline {
    background: var(--accent);
    color: var(--bg-light);
    border: 1px solid var(--border-color);
}

/* .btn-outline:hover {
    background: #f5f5f5;
} */

.btn-back {
    margin-right: auto;
}

@media (max-width: 768px) {
    .booking-main {
        padding: 70px 16px 40px;
    }

    .booking-title {
        font-size: 24px;
    }

    .booking-subtitle {
        font-size: 13px;
    }

    .booking-progress {
        margin-bottom: 40px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .progress-indicator {
        width: 36px;
        height: 36px;
    }

    .progress-number {
        font-size: 13px;
    }

    .progress-label {
        font-size: 11px;
    }

    .progress-line {
        max-width: 40px;
        margin: 0 4px;
    }

    .booking-navigation button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .progress-label {
        display: none;
    }

    .progress-step {
        gap: 0;
    }

    .booking-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .booking-navigation button {
        width: fit-content;
        align-self: stretch;
    }

    .btn-back {
        order: 1;
    }

    .btn-cancel {
        order: 2;
    }

    .btn-next {
        order: 3;
    }
}
.app-ser .step-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.service-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
}

.service-item:hover {
    border-color: var(--primary);
    background: #f9fef9;
}

.service-item.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.service-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.service-item span {
    /* flex: 1; */
    font-weight: 500;
}

.expert-section {
    display: none;
}

.expert-section.active {
    display: block;
}

.service-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.service-description h3 {
    font-family: "Varela Round", sans-serif;
    font-size: 18px;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    font-weight: 400;
}

.service-description p {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.expert-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expert-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(102, 153, 102, 0.1);
}

.expert-card.selected {
    border-color: var(--primary);
    background: #f9fef9;
}

.expert-card.selected::after {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--primary);
    font-size: 20px;
}

.expert-card {
    position: relative;
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
}

.expert-name {
    font-family: "Varela Round", sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0 0 6px 0;
    font-weight: 400;
}

.expert-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    color: #666;
    margin: 0 0 4px 0;
}

.expert-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.expert-rating i {
    color: #ffa500;
    font-size: 12px;
}

.expert-rating span {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    color: #666;
}

.expert-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.specialty-tag {
    font-family: "Instrument Sans", sans-serif;
    font-size: 11px;
    background: #e8f5e8;
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
}

.expert-view-profile {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.expert-view-profile:hover {
    color: var(--primary-hover);
}

.expert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.expert-modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-light);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: var(--text-dark);
}

.modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.modal-header-info h2 {
    font-family: "Varela Round", sans-serif;
    font-size: 20px;
    color: var(--text-dark);
    margin: 0 0 6px 0;
    font-weight: 400;
}

.modal-header-info p {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0;
}

.modal-body {
    padding: 24px;
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    font-family: "Varela Round", sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    font-weight: 400;
}

.modal-section p {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.modal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-section li {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: #555;
    padding: 6px 0;
    display: flex;
    align-items: start;
    gap: 8px;
}

.modal-section li i {
    color: var(--primary);
    margin-top: 2px;
    font-size: 12px;
}

.availability-info {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: #555;
}

@media (max-width: 968px) {
    .app-ser .step-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-selector {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .service-selector {
        grid-template-columns: 1fr;
    }

    .experts-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 20px;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .modal-close {
        top: 12px;
        right: 12px;
    }
}

.experts-placeholder {
    height: 100%;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: "Instrument Sans", sans-serif;
    font-size: 17px;
    gap: 12px;
}

.experts-placeholder i.mobile-screen {
    display: none;
}

@media (max-width: 968px) {
    .experts-placeholder {
        height: 200px;
        flex-direction: column;
        font-size: 14px;
    }

    .experts-placeholder i.mobile-screen {
        display: block;
    }

    .experts-placeholder i.wide-screen {
        display: none;
    }
}

.app-per .step-content {
    max-width: 700px;
    margin: 0 auto;
}

.form-section {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.form-section-title {
    font-family: 'Varela Round', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title i {
    color: var(--primary);
    font-size: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-label .optional {
    color: #999;
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 153, 102, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-error {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #e74c3c;
    display: none;
    margin-top: 4px;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
    border-color: #e74c3c;
}

.form-group.error .form-error {
    display: block;
}

.form-note {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #666;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-top: 16px;
    display: flex;
    align-items: start;
    gap: 8px;
}

.form-note i {
    color: var(--primary);
    margin-top: 2px;
    font-size: 14px;
}

@media (max-width: 640px) {
    .form-section {
        padding: 20px 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-section-title {
        font-size: 15px;
    }
}
.app-dat .step-content {
    max-width: 900px;
    margin: 0 auto;
}

.datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.datetime-section {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header i {
    color: var(--primary);
    font-size: 20px;
}

.section-title {
    font-family: 'Varela Round', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 400;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-month {
    font-family: 'Varela Round', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    background: none;
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.calendar-nav button:hover:not(:disabled) {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.calendar-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekday {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 11px;
    color: #666;
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: var(--bg-light);
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: #f0f7f0;
    border-color: var(--primary);
}

.calendar-day.today {
    border-color: var(--secondary);
}

.calendar-day.selected {
    background: var(--primary);
    color: var(--text-light);
    font-weight: 600;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}

.calendar-day.empty {
    cursor: default;
}

.time-slots-container {
    min-height: 200px;
}

.time-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.time-placeholder i {
    font-size: 40px;
    color: #ddd;
    margin-bottom: 12px;
}

.time-placeholder p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    margin: 0;
}

.time-slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.selected-date-display {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: #666;
}

.selected-date-display strong {
    color: var(--text-dark);
}

.time-period-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #666;
    margin: 16px 0 8px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-period-label:first-child {
    margin-top: 0;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 12px 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.time-slot:hover:not(.booked) {
    background: #f0f7f0;
    border-color: var(--primary);
}

.time-slot.selected {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    font-weight: 600;
}

.time-slot.booked {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}

.location-section {
    margin-top: 24px;
}

.location-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-option:hover {
    background: #f0f7f0;
    border-color: var(--primary);
}

.location-option.selected {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.location-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.location-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.location-name {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.location-desc {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    opacity: 0.9;
}

.booking-summary {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
}

.booking-summary h4 {
    font-family: 'Varela Round', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    font-weight: 400;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: #555;
}

.summary-item i {
    color: var(--primary);
    width: 16px;
}

@media (max-width: 768px) {
    .datetime-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .datetime-section {
        padding: 20px 16px;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-day {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .time-slots {
        grid-template-columns: 1fr;
    }
}
.app-pay .step-content {
    max-width: 750px;
    margin: 0 auto;
}

.payment-summary-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.summary-header i {
    color: var(--primary);
    font-size: 18px;
}

.summary-header h3 {
    font-family: 'Varela Round', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 400;
}

.appointment-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 11px;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-value {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
}

.price-section {
    background: #f8faf8;
    padding: 16px;
    border-radius: 6px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.price-row:last-of-type {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.price-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: #666;
}

.price-value {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
}

.price-row.total .price-label {
    font-weight: 600;
    color: var(--text-dark);
}

.price-row.total .price-value {
    font-size: 17px;
    color: var(--primary);
    font-weight: 600;
}

.currency-converter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.currency-converter select {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
}

.converted-amount {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #888;
}

.payment-method-selection {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.method-selection-header {
    margin-bottom: 24px;
    text-align: center;
}

.method-selection-header h3 {
    font-family: 'Varela Round', sans-serif;
    font-size: 17px;
    color: var(--text-dark);
    margin: 0 0 4px 0;
    font-weight: 400;
}

.method-selection-header p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: #888;
    margin: 0;
}

.method-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.method-card {
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
}

.method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.method-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.method-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.method-card:hover .method-card-image img {
    transform: scale(1.04);
}

/* .method-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.35));
    display: flex;
    align-items: flex-end;
    padding: 10px;
} */

.method-card-badge {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.insurance-badge {
    background: #e8f4fd;
    color: var(--accent);
}

.wellness-badge {
    background: #e8f5e8;
    color: var(--primary);
}

.private-badge {
    background: #fef3e8;
    color: var(--secondary);
}

.method-card-body {
    padding: 14px 16px;
    flex: 1;
}

.method-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.method-card[data-method="insurance"] .method-card-icon {
    background: #e8f4fd;
    color: var(--accent);
}

.method-card[data-method="wellness"] .method-card-icon {
    background: #e8f5e8;
    color: var(--primary);
}

.method-card[data-method="private"] .method-card-icon {
    background: #fef3e8;
    color: var(--secondary);
}

.method-card-icon i {
    font-size: 14px;
}

.method-card-body h4 {
    font-family: 'Varela Round', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    font-weight: 400;
}

.method-card-body p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

.method-card-select {
    padding: 10px 16px;
    display: flex;
    justify-content: flex-end;
}

.method-card-select span {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.method-card:hover .method-card-select span {
    gap: 8px;
}

.payment-detail-view {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-back-method {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.btn-back-method:hover {
    color: var(--primary);
}

.btn-back-method i {
    font-size: 12px;
}

.payment-detail-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.payment-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insurance-icon {
    background: #e8f4fd;
    color: var(--accent);
}

.insurance-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wellness-icon {
    background: #e8f5e8;
    color: var(--primary);
}

.private-icon {
    background: #fef3e8;
    color: var(--secondary);
}

.payment-detail-icon i {
    font-size: 18px;
}

.payment-detail-header h3 {
    font-family: 'Varela Round', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0 0 3px 0;
    font-weight: 400;
}

.payment-detail-header p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #888;
    margin: 0;
}

.payment-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-input-group label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-input-group input,
.form-input-group select {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-group input:focus,
.form-input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 153, 102, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.payment-info-box {
    background: #f8faf8;
    padding: 12px 14px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.payment-info-box i {
    color: var(--primary);
    font-size: 13px;
    margin-top: 1px;
    flex-shrink: 0;
}

.payment-info-box p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.btn-confirm-payment {
    width: 100%;
    padding: 13px 24px;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 7px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.btn-confirm-payment:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 153, 102, 0.22);
}

.btn-confirm-payment:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.private-payment-methods {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.private-payment-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #888;
    margin: 0 0 12px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.private-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.private-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-light);
}

.private-method:hover {
    border-color: var(--primary);
    background: #f9fef9;
}

.private-method.active {
    border-color: var(--primary);
    background: #f0f7f0;
}

.private-method img {
    width: 80%;
    height: 50px;
    object-fit: contain;
}

.private-method span {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 11px;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

.private-method-detail {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: #f8faf8;
    border-radius: 7px;
    margin-bottom: 16px;
    animation: fadeIn 0.25s ease;
}

.private-method-detail.active {
    display: flex;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: #f0f7f0;
    border-radius: 6px;
    margin-top: 16px;
}

.secure-badge i {
    color: var(--primary);
    font-size: 14px;
}

.secure-badge span {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.pay-button-container {
    margin-top: 20px;
    display: none;
}

.pay-button-container.active {
    display: block;
}

.btn-pay-full {
    margin-top: 0;
}

.processing-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 7px;
    margin-top: 12px;
}

.processing-indicator.active {
    display: flex;
}

.processing-indicator i {
    color: var(--primary);
    font-size: 16px;
    animation: spin 1s linear infinite;
}

.processing-indicator span {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: #666;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .appointment-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .method-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* .method-card {
        flex-direction: row;
        align-items: center;
    } */

    .method-card-image {
        height: 200px;
        flex-shrink: 0;
        border-radius: 0;
    }

    .method-card-body {
        padding: 12px;
        flex: 1;
    }

    .method-card-body p {
        display: none;
    }

    .method-card-select {
        border-top: none;
        border-left: 1px solid var(--border-color);
        padding: 12px;
        height: 100%;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .private-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .payment-summary-card,
    .payment-method-selection,
    .payment-detail-view {
        padding: 18px 14px;
    }

    /* .method-card-image {
        width: 70px;
        height: 70px;
    } */
}
.app-cfm-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.app-cfm-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.app-cfm-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #669966 0%, #7fb07f 100%);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
}

.app-cfm-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.app-cfm-subtitle {
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
}

.app-cfm-summary {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.app-cfm-section {
    margin-bottom: 1.75rem;
}

.app-cfm-section:last-child {
    margin-bottom: 0;
}

.app-cfm-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #f0f0f0;
}

.app-cfm-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.app-cfm-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.app-cfm-label {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.app-cfm-value {
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
}

.app-cfm-notice {
    background: #f8fdf8;
    border: 1px solid #c8e6c8;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.app-cfm-notice i {
    font-size: 1.125rem;
    color: #669966;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.app-cfm-notice p {
    font-size: 0.8125rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.app-cfm-notice strong {
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .app-cfm-container {
        padding: 1.5rem 1rem;
    }

    .app-cfm-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .app-cfm-title {
        font-size: 1.25rem;
    }

    .app-cfm-subtitle {
        font-size: 0.8125rem;
    }

    .app-cfm-summary {
        padding: 1.25rem;
    }

    .app-cfm-section {
        margin-bottom: 1.5rem;
    }

    .app-cfm-section-title {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
        padding-bottom: 0.5rem;
    }

    .app-cfm-detail-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .app-cfm-label {
        font-size: 0.6875rem;
    }

    .app-cfm-value {
        font-size: 0.8125rem;
    }

    .app-cfm-notice {
        padding: 1rem;
        gap: 0.75rem;
    }

    .app-cfm-notice i {
        font-size: 1rem;
    }

    .app-cfm-notice p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .app-cfm-container {
        padding: 1.25rem 0.875rem;
    }

    .app-cfm-header {
        margin-bottom: 2rem;
    }

    .app-cfm-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .app-cfm-title {
        font-size: 1.125rem;
    }

    .app-cfm-summary {
        border-radius: 10px;
        padding: 1rem;
    }

    .app-cfm-section {
        margin-bottom: 1.25rem;
    }

    .app-cfm-notice {
        border-radius: 8px;
        padding: 0.875rem;
    }
}
