.profile-section {
    padding: 60px 0 100px;
    background: #f8f9fc;
    min-height: 60vh;
}

/* Profile Header */
.profile-header-card {
    background: linear-gradient(135deg, #3b66b4 0%, #2a4b8a 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(59, 102, 180, 0.25);
}
.profile-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.profile-header-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    backdrop-filter: blur(5px);
}
.profile-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #3b66b4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.profile-avatar-edit:hover {
    transform: scale(1.1);
}
.profile-info {
    flex: 1;
    position: relative;
    z-index: 1;
}
.profile-info h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #fff;
}
.profile-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    color: #fff;
}
.profile-member-since {
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
    margin-top: 5px !important;
    color: #fff !important;
}
.profile-signout-btn {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.profile-signout-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

/* Edit Profile Card */
.profile-edit-section {
    margin-bottom: 30px;
}
.profile-edit-section .profile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.35s ease;
    overflow: hidden;
}
.profile-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.profile-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}
.profile-card-header h3 i {
    color: #3b66b4;
    margin-right: 10px;
}
.profile-edit-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}
.profile-edit-close:hover {
    color: #333;
}
.profile-card-body {
    padding: 25px;
}
.profile-card-body label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    display: block;
}
.profile-edit-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 10px;
}
.profile-edit-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* Tabs */
.profile-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.profile-tab {
    flex: 1;
    padding: 16px 20px;
    background: #fff;
    border: none;
    outline: none !important;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}
.profile-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #3b66b4;
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}
.profile-tab.active {
    color: #3b66b4;
    background: #f0f4fc;
}
.profile-tab.active::after {
    width: 60%;
}
.profile-tab:hover:not(.active) {
    background: #f8f9fa;
}
.profile-tab:focus,
.profile-tab:focus-visible,
.profile-tab:active:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Tab Content */
.profile-tab-content {
    display: none;
    animation: profileTabFade 0.4s ease;
}
.profile-tab-content.active {
    display: block;
}
@keyframes profileTabFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Empty State */
.profile-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.profile-empty i {
    font-size: 3rem;
    color: #3b66b4;
    margin-bottom: 15px;
    opacity: 0.5;
}
.profile-empty h4 {
    color: #333;
    margin-bottom: 8px;
}
.profile-empty p {
    color: #888;
    margin: 0;
}

/* Booking Cards */
.profile-booking-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.booking-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    animation: bookingCardIn 0.5s ease backwards;
}
@keyframes bookingCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.booking-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #d4e0f9;
}
.booking-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.booking-resort-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.booking-resort-name {
    font-weight: bold;
    font-size: 1.15rem;
    color: #333;
    flex: 1;
}
.booking-badge {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.badge-upcoming {
    background: #e8f5e9;
    color: #2e7d32;
}
.badge-active {
    background: #fff3e0;
    color: #e65100;
}
.badge-past {
    background: #f5f5f5;
    color: #757575;
}
.badge-cancelled {
    background: #fce4ec;
    color: #c62828;
}
.badge-pending {
    background: #fff8e1;
    color: #f57f17;
}
.booking-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.booking-dates {
    display: flex;
    align-items: center;
    gap: 15px;
}
.booking-date-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.booking-date-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.booking-date-value {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}
.booking-time-value {
    font-size: 0.82rem;
    color: #888;
}
.booking-date-arrow {
    color: #3b66b4;
    font-size: 1.2rem;
    opacity: 0.6;
    padding-top: 14px;
}
.booking-meta {
    font-size: 0.85rem;
    color: #888;
}
.booking-meta i {
    width: 16px;
    color: #3b66b4;
}
.booking-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #28a745;
    text-align: right;
}
.booking-cancel-action {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: 4px;
}
.cancel-req-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #fce4ec;
    background: #fff;
    color: #c62828;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cancel-req-btn:hover:not(:disabled) {
    background: #fce4ec;
}
.cancel-req-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ddd;
    color: #999;
}
/* Cancel Modal */
.cancel-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cancel-modal {
    display: flex;
    background: #fff;
    border-radius: 24px;
    max-width: 680px;
    width: 100%;
    min-height: 400px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: cancelModalIn 0.35s cubic-bezier(0.21, 1.02, 0.73, 1);
    overflow: hidden;
    position: relative;
}
@keyframes cancelModalIn {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.cancel-modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.06);
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
    line-height: 1;
}
.cancel-modal-x:hover {
    background: rgba(0,0,0,0.12);
    color: #333;
}
/* Sidebar */
.cancel-modal-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.cancel-modal-sidebar-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.04) 0%, transparent 60%),
                radial-gradient(circle at 30% 70%, rgba(59,102,180,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.cancel-modal-icon-wrap {
    position: relative;
    z-index: 1;
}
.cancel-modal-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.25);
    animation: cancelRingRotate 12s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes cancelRingRotate {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.cancel-modal-icon-inner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.15);
}
.cancel-modal-booking-detail {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
}
.cancel-modal-detail-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}
.cancel-modal-detail-resort {
    font-size: 0.95rem;
    color: #fff;
}
.cancel-modal-detail-date {
    font-size: 1.05rem;
    color: #fff;
}
.cancel-modal-detail-days {
    font-size: 1.3rem;
    color: #fbbf24;
}
/* Main Content */
.cancel-modal-main {
    flex: 1;
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
}
.cancel-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}
.cancel-modal-subtitle {
    font-size: 0.88rem;
    color: #888;
    margin: 0 0 24px 0;
    line-height: 1.5;
}
.cancel-modal-warning {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
}
.cancel-modal-warning-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.cancel-modal-warning-text strong {
    display: block;
    font-size: 0.85rem;
    color: #92400e;
    margin-bottom: 4px;
}
.cancel-modal-warning-text p {
    font-size: 0.8rem;
    color: #a16207;
    margin: 0;
    line-height: 1.5;
}
.cancel-modal-info {
    display: flex;
    gap: 10px;
    background: #f8f9ff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 24px;
}
.cancel-modal-info-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.cancel-modal-info-text {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
}
.cancel-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.cancel-modal-keep-btn {
    flex: 1;
    padding: 12px 20px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    color: #555;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}
.cancel-modal-keep-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}
.cancel-modal-submit-btn {
    flex: 1.4;
    padding: 12px 20px;
    border: none;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cancel-modal-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}
.cancel-modal-submit-btn:active {
    transform: translateY(0);
}
.cancel-modal-error {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #dc2626;
    text-align: center;
}

@media (max-width: 700px) {
    .cancel-modal {
        flex-direction: column;
        max-width: 440px;
    }
    .cancel-modal-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 24px 20px;
        gap: 16px;
    }
    .cancel-modal-icon-wrap {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .cancel-modal-sidebar .cancel-modal-booking-detail {
        width: auto;
        flex: 1;
        min-width: 100px;
    }
    .cancel-modal-main {
        padding: 28px 20px 24px;
    }
    .cancel-modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .profile-header-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .profile-signout-btn {
        width: 100%;
    }
    .booking-dates {
        flex-direction: column;
        align-items: flex-start;
    }
    .booking-date-arrow {
        transform: rotate(90deg);
        padding: 5px 0;
    }
}
/* Pay Now Button */
.booking-pay-action {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: 4px;
}
.pay-now-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #bbdefb;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.pay-now-btn:hover:not(:disabled) {
    background: #bbdefb;
    border-color: #64b5f6;
}
.pay-now-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* Feedback Button */
.booking-feedback-action {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: 4px;
}
.feedback-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #fef3c7;
    background: #fff;
    color: #d97706;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.feedback-btn:hover:not(:disabled) {
    background: #fffbeb;
    border-color: #fbbf24;
}
.feedback-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ddd;
    color: #999;
}
/* Feedback Modal */
.feedback-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.feedback-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    animation: cancelModalIn 0.3s cubic-bezier(0.21, 1.02, 0.73, 1);
    overflow: hidden;
    position: relative;
}
.feedback-modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.06);
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    line-height: 1;
}
.feedback-modal-x:hover {
    background: rgba(0,0,0,0.12);
}
.feedback-modal-header {
    text-align: center;
    padding: 36px 30px 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom: 1px solid #fde68a;
}
.feedback-modal-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.feedback-modal-header h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}
.feedback-modal-header p {
    font-size: 0.88rem;
    color: #777;
    margin: 0;
}
.feedback-modal-body {
    padding: 24px 30px 30px;
}
.feedback-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 2.5rem;
    cursor: pointer;
    margin-bottom: 6px;
}
.feedback-star {
    color: #d1d5db;
    transition: all 0.15s;
    user-select: none;
}
.feedback-star:hover {
    transform: scale(1.2);
}
.feedback-star:has(~ .feedback-star:hover) {
    color: #f59e0b;
}
.feedback-stars .feedback-star {
    color: #d1d5db;
}
.feedback-rating-label {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 18px;
    min-height: 20px;
}
.feedback-textarea {
    width: 100%;
    min-height: 100px;
    border: 1.5px solid #e0e0e0;
    border-radius: 14px;
    padding: 14px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.feedback-textarea:focus {
    outline: none;
    border-color: #f59e0b;
}
.feedback-error {
    font-size: 0.85rem;
    color: #dc2626;
    margin-top: 10px;
    text-align: center;
}
.feedback-submit-btn {
    width: 100%;
    padding: 13px;
    border: none;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.feedback-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}
.feedback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
