.configuraciones-container {
    max-width: 1400px;
    width: 80%;
    margin: 60px auto;
    font-family: "Nunito Sans";
    align-items: center;

}

.configuration-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 16px;
    align-items: center;
    text-align: center;
}

.configuration-header img {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
    margin-top: 40px;
    align-items: center;
    text-align: center;

}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    width: 24px;
    height: 24px;
}

.settings-section {
    margin-bottom: 40px;
    max-width: 1200px;
    width: 60%;
}

.setting-title {
    font-size: 32px;
    font-weight: 700;
    color: #043259;
    margin: 0 0 10px 0;
}

.setting-description {
    font-size: 18px;
    font-weight: 400;
    color: #043259;
    margin-bottom: 40px;
}


.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.settings-section {
    background: white;
    border: 2px solid #60A699;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Section Header */
.section-header {
    background: rgba(176, 217, 205, 0.35);
    padding: 20px 25px;
    border-bottom: 2px solid #036A6F;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #043259;
    margin: 0;
}

/* Section Content */
.section-content {
    padding: 0;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(96, 166, 153, 0.2);
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item:hover {
    background: rgba(176, 217, 205, 0.15);
}

/* Item Info */
.settings-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.settings-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #043259;
}

.settings-item-description {
    font-size: 14px;
    font-weight: 400;
    color: #4d6F8C;
}

/* Arrow */
.settings-item-arrow {
    font-size: 20px;
    color: #60A699;
    font-weight: 700;
}

/* Disabled State */
.settings-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.toggle-item {
    cursor: default;
}

.toggle-item:hover {
    background: white;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: #60A699;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.settings-help-text {
    padding: 15px 25px;
    background: rgba(247, 145, 28, 0.1);
    border-left: 4px solid #F7911C;
    margin: 0;
    font-size: 14px;
    color: #043259;
    line-height: 1.6;
}

.settings-help-text strong {
    font-weight: 600;
    color: #043259;
}

.settings-help-text ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.settings-help-text li {
    margin: 5px 0;
    color: #4d6F8C;
}

.pro-feature {
    position: relative;
}

/* Add right container for badge + arrow */
.settings-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Gray out locked PRO features for Basic users */
.settings-item.locked {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.settings-item.locked:hover {
    background: white;
}

.pro-badge {
    display: inline-block;
    background: linear-gradient(90deg, #E7964F 0%, #F0C06E 77.88%, #EBAB5E 88.94%, #E7964F 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 20px;
}

.current-plan-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: rgba(176, 217, 205, 0.15);
    border-bottom: 1px solid rgba(96, 166, 153, 0.2);
}

.plan-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.plan-label {
    font-size: 14px;
    font-weight: 500;
    color: #4d6F8C;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #043259;
}

.upgrade-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(90deg, #E7964F 0%, #F0C06E 77.88%, #EBAB5E 88.94%, #E7964F 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.upgrade-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 150, 79, 0.4);
}

.upgrade-icon {
    width: 20px;
    height: 20px;
}

.logout-btn {
    border: none;
    background: white;
    width: 100%;
    text-align: left;
}

.logout-btn:hover {
    background: rgba(229, 97, 99, 0.1);
}

.logout-text {
    color: #E56163;
}

.logout-btn .settings-item-arrow {
    color: #E56163;
}

.back-to-dashboard-btn {
    max-height: 40px;
    border-radius: 5px;
    background: #043259;
    color: #fff;
    font-family: "Nunito Sans";
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 40px auto;
    text-align: center;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-to-dashboard-btn:hover {
    background: rgba(96, 166, 153, 1);
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-to-dashboard-btn img {
    width: 16px;
    height: 16px;
}

/*REVIEW */

.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-container input {
    flex: 1;
    width: 100%;
    padding: 12px;
    padding-right: 45px; /* Space for button */
    border: 1px solid #60A699;
    border-radius: 5px;
    font-family: "Nunito Sans";
    font-size: 14px;
    color: #043259;
    background: rgba(176, 217, 205, 0.15);
    box-sizing: border-box;
}

.toggle-password-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.toggle-password-btn:hover {
    opacity: 0.7;
}

.toggle-password-btn img {
    display: block;
}

/* Password Requirements */
.password-requirements {
    margin-top: 10px;
    padding: 10px;
    background: rgba(176, 217, 205, 0.1);
    border-radius: 5px;
}

.password-requirements p {
    margin: 5px 0;
    font-size: 13px;
    color: #4d6F8C;
}

.password-requirements p.valid {
    color: #60A699;
}

.password-requirements p.valid::before {
    content: "✓ ";
    font-weight: 700;
}

/* Current Info Display */
.current-info {
    padding: 15px;
    background: rgba(176, 217, 205, 0.15);
    border-radius: 5px;
    margin-bottom: 20px;
}

.current-info p {
    margin: 0;
    font-size: 14px;
    color: #043259;
}

/* ADD THESE - Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex !important;
}

/* ADD THESE - Modal Content */
.modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    font-family: "Nunito Sans";
    color: #043259;
}

/* ADD THESE - Modal Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    color: #043259;
    line-height: 1;
}

.modal-close:hover {
    color: #60A699;
}

/* ADD THESE - Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header .modal-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.modal-header h2 {
    color: #043259;
    font-family: "Nunito Sans";
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.field-error-text {
    margin-left: 0 !important;
}

/* ADD THESE - Form Groups in Modals */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #043259;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: #E7964F;
    font-weight: bold;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #60A699;
    border-radius: 5px;
    font-family: "Nunito Sans";
    font-size: 14px;
    color: #043259;
    background: rgba(176, 217, 205, 0.15);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #60A699;
    box-shadow: 0 0 0 3px rgba(96, 166, 153, 0.1);
}

/* ADD THESE - Modal Actions */
.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    background: #043259;
    color: white;
    font-family: "Nunito Sans";
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: rgba(96, 166, 153, 1);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary {
    padding: 12px 24px;
    border: 1px solid #60A699;
    border-radius: 5px;
    background: white;
    color: #60A699;
    font-family: "Nunito Sans";
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #E74C3C;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #fff;
    border: none;
}

.modal-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.modal-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.password-requirements p::before {
    content: '○ ';
    color: #999;
}

.password-requirements p.valid::before {
    content: '✓ ';
    color: #60A699;
}

.password-requirements p.valid {
    color: #60A699;
}

.wizard-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.wizard-step {
    flex: 1;
    padding: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(176,217,205,0.2);
    color: #4d6F8C;
}

.wizard-step.active {
    background: #043259;
    color: white;
}

.wizard-section {
    margin-bottom: 20px;
}

.wizard-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #043259;
    margin-bottom: 10px;
}

.wizard-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wizard-opt-btn {
    padding: 8px 16px;
    border: 2px solid #B0D9CD;
    border-radius: 8px;
    background: white;
    color: #043259;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.wizard-opt-btn.selected {
    background: #043259;
    color: white;
    border-color: #043259;
}

.wizard-opt-btn:hover:not(.selected) {
    background: rgba(176,217,205,0.3);
}

/* Day rows */
.w-day-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(176,217,205,0.3);
}

.w-day-row:last-child {
    border-bottom: none;
}

.w-day-name {
    width: 90px;
    font-size: 14px;
    font-weight: 600;
    color: #043259;
}

.w-day-times {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
}

.w-day-times input[type="time"] {
    padding: 6px 10px;
    border: 1px solid #B0D9CD;
    border-radius: 6px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    color: #043259;
    background: rgba(176,217,205,0.15);
}

.w-day-times input[type="time"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.w-day-times span {
    font-size: 12px;
    color: #4d6F8C;
}

/* Advanced */
.wizard-advanced-toggle {
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #60A699;
    padding: 8px 0;
    align-content: center;
}

.wizard-advanced-toggle:hover {
    color: #036A6F;
}

.wizard-advanced-toggle img{
    width: 20px;
    height: 20px;
}

.wizard-field-row {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.wizard-field {
    flex: 1;
}

.wizard-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #B0D9CD;
    border-radius: 6px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    color: #043259;
    background: white;
}

/* Toggle row */
.wizard-toggle-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(176,217,205,0.15);
    border-radius: 8px;
}

#w-status-label {
    font-size: 16px;
    font-weight: 700;
    color: #043259;
    flex: 1;
}

/* Summary */
.wizard-summary {
    background: rgba(176,217,205,0.15);
    border: 1px solid #B0D9CD;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.wizard-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(176,217,205,0.3);
    font-size: 13px;
}

.wizard-summary-row:last-child {
    border-bottom: none;
}

.wizard-summary-row span:first-child {
    color: #4d6F8C;
    font-weight: 600;
}

.wizard-summary-row span:last-child {
    color: #043259;
    font-weight: 700;
}

/* Location status badges */
.citas-location-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 25px;
    border-bottom: 1px solid rgba(96,166,153,0.2);
    cursor: pointer;
    transition: background 0.2s;
}

.citas-location-item:hover {
    background: rgba(176,217,205,0.15);
}

.citas-location-item:last-child {
    border-bottom: none;
}

.citas-loc-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.citas-loc-name {
    font-size: 15px;
    font-weight: 700;
    color: #043259;
}

.citas-loc-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 5px;
}

.citas-loc-status.active {
    background: rgba(96,166,153,0.15);
    color: #036A6F;
}

.citas-loc-status.inactive {
    background: rgba(229,97,99,0.1);
    color: #E56163;
}

/* TABLET RESPOSIVENESS */

@media (max-width: 768px) {
    .configuraciones-container {
        width: 95%;
        margin: 20px auto;
    }

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

    .page-description {
        font-size: 14px;
    }

    .settings-grid {
        gap: 20px;
    }

    .settings-item {
        padding: 15px 20px;
    }

    .settings-item-title {
        font-size: 15px;
    }

    .settings-item-description {
        font-size: 13px;
    }

    .current-plan-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .upgrade-link {
        width: 100%;
        justify-content: center;
    }

    .settings-help-text {
        font-size: 13px;
        padding: 12px 20px;
    }

    .back-to-dashboard-btn {
        width: 90%;
    }

    .modal-content {
        padding: 25px;
        max-width: 80%;
    }

    .modal-icon img {
        width: 40px;
        height: 40px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

}

@media (max-width: 480px) {
    .setting-title {
        font-size: 20px;
    }

    .configuration-header img{
        width: 60px;
        height: 60px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .setting-description {
        font-size: 16px;
        margin-bottom: 8px;
        margin-top: 8px;
    }

    .settings-section {
        width: 90%;
    }
    .settings-item {
        padding: 12px 15px;
    }

    .settings-item-title {
        font-size: 14px;
    }

    .settings-item-description {
        font-size: 12px;
    }

    .current-plan-card a {
        width: 85%;
    }

    .back-to-dashboard-btn {
        width: 100%;
        padding: 8px 16px;
        font-size: 13px;
    }
}


@media (max-width: 320px) {

}