.profile-options-container {
    background: linear-gradient(180deg, #4a76a8 0%, #3b5d85 100%);
    padding: 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    min-height: 70vh;
}

.option-group {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.group-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0px;
    color: #ffffff;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.option-item:active {
    transform: scale(0.98);
}

.option-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-placeholder {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
}

.option-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.arrow-icon {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.delete-account {
    margin-top: 10px;
}

.delete-account .option-item:hover {
    background: rgba(255, 74, 74, 0.2);
    color: rgb(255, 74, 74);
}

.delete-account span {
    font-weight: bold;
    color: rgb(255, 74, 74);
}

/* Patient Dashboard & Centralized Activity Styles */
.patient-header-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
}

.patient-avatar {
    width: 65px;
    height: 65px;
    min-width: 65px;
    min-height: 65px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.patient-info-meta h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #ffffff;
}

.patient-email {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointment-card-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.appointment-card-premium:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.card-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.physio-thumb {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.appointment-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.physio-name-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.appointment-modality {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

.appointment-time-badge {
    font-size: 0.75rem;
    color: #ffd07b;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    text-transform: uppercase;
}

.status-badge.confirmada {
    background: rgba(40, 167, 69, 0.2);
    color: #55efc4;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-badge.pendiente {
    background: rgba(255, 193, 7, 0.2);
    color: #ffeaa7;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.btn-detail-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-detail-link:hover {
    background: #ffffff;
    color: #3b5d85;
}

.empty-state-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.empty-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    opacity: 0.6;
    color: #ffffff;
}

.empty-state-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.empty-state-card p {
    font-size: 0.8rem;
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.6);
}

.btn-cta-search-physio {
    background: #ffffff;
    color: #14416c;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-cta-search-physio:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.physios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.physio-history-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.physio-history-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.physio-avatar-mid {
    width: 55px;
    height: 55px;
    min-width: 55px;
    min-height: 55px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.physio-history-info {
    margin-bottom: 10px;
}

.physio-history-info .physio-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.physio-specialty {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.physio-history-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.btn-history-profile,
.btn-history-rebook {
    width: 100%;
    padding: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
}

.btn-history-profile:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-history-rebook {
    background: #ffd07b;
    color: #14416c;
    border: none;
    font-weight: 600;
}

.btn-history-rebook:hover {
    background: #ffc457;
}

/* Premium Detail Modal Styles */
.modal-overlay-premium {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 16px;
}

.modal-card-premium {
    background: linear-gradient(135deg, #3b5d85 0%, #294260 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    animation: modalReveal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-premium {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.modal-close-premium:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.modal-header-premium {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.modal-physio-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.modal-header-premium h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 3px 0;
}

.modal-physio-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.modal-body-premium {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon {
    font-size: 1rem;
    color: #ffd07b;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.detail-row label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.detail-row p {
    font-size: 0.88rem;
    margin: 0;
    font-weight: 500;
}

.modal-footer-premium {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-chat-redirect {
    background: #ffffff;
    color: #14416c;
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-chat-redirect:hover {
    background: #f1f2f6;
    transform: translateY(-1px);
}

.btn-cancel-premium {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ff7675;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-cancel-premium:hover {
    background: rgba(231, 76, 60, 0.3);
    color: #ff4757;
    transform: translateY(-1px);
}