/* ============================================
   HOME PAGE SPECIFIC STYLES
   ============================================ */

/* Welcome Section */
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--px-20);
}

.welcome-title {
    font: normal normal 700 var(--s-24);
    color: #1f2937;
    margin-bottom: var(--px-4);
}

.welcome-subtitle {
    font: normal normal 400 var(--s-14);
    color: #6b7280;
}

/* Welcome Section - Guest with Account */
.welcome-section-account {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--px-20);
}

.welcome-text-account h1 {
    font: normal normal 700 var(--s-24);
    color: #1f2937;
    margin-bottom: var(--px-4);
}

.welcome-text-account p {
    font: normal normal 400 var(--s-14);
    color: #6b7280;
}

/* Account Notice */
.account-notice {
    display: flex;
    gap: var(--px-12);
    padding: var(--px-12);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: var(--px-8);
    margin-bottom: var(--px-20);
}

.notice-icon {
    width: var(--px-20);
    height: var(--px-20);
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: var(--px-2);
}

.notice-title {
    font: normal normal 500 var(--s-14);
    color: #1e40af;
    margin-bottom: var(--px-4);
}

.notice-text {
    font: normal normal 300 var(--s-13);
    color: #1d4ed8;
    line-height: 1.5;
}

/* Room Details */
.room-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--px-12);
    margin-bottom: var(--px-12);
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-full {
    grid-column: 1 / -1;
}

.detail-label {
    font: normal normal 500 var(--s-11);
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--px-2);
}

.detail-value {
    font: normal normal 600 var(--s-14);
    color: #1f2937;
}

.detail-small {
    font: normal normal 400 var(--s-12);
    color: #6b7280;
}

/* Guests Section */
.guests-section {
    padding-top: var(--px-12);
    border-top: 1px solid #f3f4f6;
}

.guests-label {
    font: normal normal 500 var(--s-12);
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--px-6);
}

/* Points Section */
.points-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0fdf4;
    padding: var(--px-12);
    border-radius: var(--px-8);
    margin-bottom: var(--px-12);
}

.points-info {
    display: flex;
    align-items: center;
}

.points-icon-wrapper {
    background: #dcfce7;
    padding: var(--px-8);
    border-radius: 50%;
    margin-right: var(--px-12);
}

    .points-icon-wrapper svg {
        width: var(--px-20);
        height: var(--px-20);
        color: var(--color-green);
    }

.points-details p:first-child {
    font: normal normal 400 var(--s-13);
    color: #4b5563;
    margin-bottom: var(--px-2);
}

.points-value {
    font: normal normal 700 var(--s-20);
}

/* Coupons Section */
.coupons-title {
    font: normal normal 500 var(--s-14);
    color: #374151;
    margin-bottom: var(--px-12);
}

.coupons-list {
    display: flex;
    flex-direction: column;
    gap: var(--px-12);
    margin-bottom: var(--px-12);
}

/* Referral Section */
.refer-description {
    font: normal normal 400 var(--s-13);
    color: #374151;
    margin-bottom: var(--px-12);
    line-height: 1.6;
}

.referral-link-section {
    margin-bottom: var(--px-12);
}

.referral-link-label {
    font: normal normal 500 var(--s-11);
    color: #6b7280;
    margin-bottom: var(--px-8);
    display: block;
}

.referral-actions {
    display: flex;
    gap: var(--px-8);
}

/* Outlets Section */
.outlets-section {
    margin-bottom: var(--px-20);
}

.section-title {
    font: normal normal 600 var(--s-18);
    color: #1f2937;
    margin-bottom: var(--px-16);
}

.outlets-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--px-8);
    padding: var(--px-12);
    background: #fffcef;
    border: 1px solid #fde68a;
    border-radius: var(--px-8);
    margin-bottom: var(--px-16);
}

.notice-icon-small {
    width: var(--px-20);
    height: var(--px-20);
    color: #d97706;
    flex-shrink: 0;
    margin-top: var(--px-2);
}

.outlets-notice p {
    font: normal normal 400 var(--s-13);
    color: #92400e;
    line-height: 1.5;
    margin: 0;
}

/* Outlets List */
.outlets-list {
    display: flex;
    flex-direction: column;
    gap: var(--px-16);
}

.outlets-section .outlet-item {
    display: flex;
    gap: var(--px-12);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--px-8);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-smooth);
    flex-direction: row;
}

.outlet-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.outlet-image-wrapper {
    width: 33%;
    flex-shrink: 0;
    overflow: hidden;
}

.outlet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-luxury);
}

.outlet-item:hover .outlet-image {
    transform: scale(1.1);
}

.outlet-item .outlet-info {
    flex: 1;
    position: unset;
    padding: var(--px-16) var(--px-16) var(--px-16) 0;
    display: flex;
    flex-direction: column;
}

.outlet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--px-8);
}

.outlet-name-wrapper {
    flex: 1;
}

.outlet-name {
    font: normal normal 600 var(--s-15);
    color: #1f2937;
    margin-bottom: var(--px-4);
}

.outlet-arrow {
    width: var(--px-20);
    height: var(--px-20);
    color: #9ca3af;
    flex-shrink: 0;
}

.outlet-description {
    font: normal normal 400 var(--s-14);
    color: #6b7280;
    margin-bottom: var(--px-8);
    line-height: 1.5;
}

.outlet-hours {
    font: normal normal 400 var(--s-12);
    color: #6b7280;
}

.hours-label {
    font-weight: 600;
}

/* ============================================
   NOTIFICATION POPUP (Facebook-style)
   ============================================ */
.notification-popup {
    position: fixed;
    top: 60px;
    right: 16px;
    width: var(--px-400);
    max-width: calc(100vw - var(--px-32));
    background: white;
    border-radius: var( --px-12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    min-height: var(--px-500);
}

    .notification-popup.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* Notification Header */
.notification-header {
    padding: var(--px-16);
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.notification-header-title {
    font: normal normal 700 var(--s-20);
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: var(--px-8);
}

.notification-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--px-8);
    background: #ef4444;
    color: white;
    border-radius: var(--px-12);
    font: normal normal 700 var(--s-12);
}

.notification-header-actions {
    display: flex;
    gap: var(--px-8);
}

.btn-notification-action {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn-notification-action:hover {
        background: #e5e7eb;
    }

    .btn-notification-action svg {
        width: 20px;
        height: 20px;
        color: #4b5563;
    }

/* Notification Filter Tabs */
.notification-tabs {
    display: flex;
    padding: var(--px-8) var(--px-12);
    border-bottom: 1px solid #e5e7eb;
    gap: var(--px-8);
    flex-shrink: 0;
    overflow-x: auto;
}

.notification-tab {
    padding: var(--px-8) var(--px-16);
    border: none;
    background: transparent;
    font: normal normal 600 var(--s-14);
    color: #6b7280;
    border-radius: var(--px-20);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

    .notification-tab:hover {
        background: #f3f4f6;
    }

    .notification-tab.active {
        background: #dbeafe;
        color: #1e40af;
    }

/* Notification List */
.notification-list {
    flex: 1;
    overflow-y: auto;
    padding: var(--px-8) 0;
}

.notification-empty {
    padding: var(--px-32) var(--px-16);
    text-align: center;
    color: #9ca3af;
}

    .notification-empty svg {
        width: 64px;
        height: 64px;
        margin: 0 auto var(--px-12);
        color: #d1d5db;
    }

.notification-empty-title {
    font: normal normal 600 var(--s-16);
    color: #6b7280;
    margin-bottom: var(--px-4);
}

.notification-empty-text {
    font: normal normal 400 var(--s-13);
    color: #9ca3af;
}

/* Notification Item */
.notification-item {
    display: flex;
    gap: var(--px-12);
    padding: var(--px-12) var(--px-16);
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

    .notification-item:hover {
        background: #f9fafb;
    }

    .notification-item.unread {
        background: #eff6ff;
    }

        .notification-item.unread:hover {
            background: #dbeafe;
        }

.notification-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

    .notification-item-icon svg {
        width: 24px;
        height: 24px;
        color: white;
    }

    .notification-item-icon.booking {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    }

    .notification-item-icon.coupon {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    }

    .notification-item-icon.reward {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    }

    .notification-item-icon.info {
        background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    }

    .notification-item-icon.welcome {
        background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    }

/* Unread indicator */
.notification-item.unread .notification-item-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--bs-red);
    border: 2px solid white;
    border-radius: 50%;
}

.notification-item-content {
    flex: 1;
    min-width: 0;
}

.notification-item-title {
    font: normal normal 600 var(--s-14);
    color: #1f2937;
    margin-bottom: var(--px-4);
    line-height: 1.4;
}

.notification-item-description {
    font: normal normal 400 var(--s-13);
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: var(--px-6);
}

.notification-item-time {
    font: normal normal 400 var(--s-12);
    color: #9ca3af;
}

.notification-item-action {
    display: inline-flex;
    align-items: center;
    gap: var(--px-4);
    margin-top: var(--px-8);
    padding: var(--px-6) var(--px-12);
    background: var(--color-green);
    color: white;
    border: none;
    border-radius: var(--px-6);
    font: normal normal 600 var(--s-13);
    cursor: pointer;
    transition: all 0.2s;
}

    .notification-item-action:hover {
        background: #15803d;
        transform: translateY(-1px);
    }

    .notification-item-action svg {
        width: 14px;
        height: 14px;
    }

/* Notification Footer */
.notification-footer {
    padding: var(--px-12) var(--px-16);
    border-top: 1px solid #e5e7eb;
    text-align: center;
    flex-shrink: 0;
}

.btn-see-all-notifications {
    width: 100%;
    padding: var(--px-10);
    border: none;
    background: transparent;
    font: normal normal 600 var(--s-14);
    color: #3b82f6;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: var(--px-6);
}

    .btn-see-all-notifications:hover {
        background: #f3f4f6;
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-popup {
        top: 56px;
        right: 8px;
        width: calc(100vw - 16px);
        max-width: 400px;
    }

    .notification-header-title {
        font-size: var(--s-18);
    }

    .notification-item {
        padding: var(--px-10) var(--px-12);
    }

    .notification-item-icon {
        width: 44px;
        height: 44px;
    }

        .notification-item-icon svg {
            width: 22px;
            height: 22px;
        }

    .notification-tabs {
        padding: var(--px-6) var(--px-8);
    }

    .notification-tab {
        padding: var(--px-6) var(--px-12);
        font-size: var(--s-13);
    }
}

@media (max-width: 480px) {
    .notification-popup {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: var(--px-12) var(--px-12) 0 0;
        top: var(--px-100);
    }
}

.notice-content {
    flex: 1;
}

.account-notice .btn-book-now-home {
    padding: 4px var(--px-16);
    background: var(--color-green);
    color: white;
    font: normal normal 600 var(--s-14);
    border-radius: var(--px-8);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    white-space: nowrap;
    border: 1px solid var(--bs-gray-400);
}

.btn-clear-all-notifications {
    width: 100%;
    padding: var(--px-10);
    border: none;
    background: transparent;
    font: normal normal 600 var(--s-14);
    color: var(--bs-red);
    cursor: pointer;
    transition: background 0.2s;
    border-radius: var(--px-6);
}
