/* ==========================================================================
   Theme-E Notifications Page Stylesheet
   Matches Photo 2 (theme e.anotechsolutions.shop/account/notification)
   ========================================================================== */

/* Page Active Body Overrides */
body.notif-page-active {
    background-color: #021447 !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.notif-page-active #app > *:not(#theme-e-notif-root) {
    display: none !important;
}

body.notif-page-active .tabbar-container,
body.notif-page-active .app-tabber,
body.notif-page-active .handle {
    display: none !important;
}

/* Also style native Vue classes just in case */
.notification-wrapper {
    background-color: #021447 !important;
    min-height: 100vh !important;
}

.notification-wrapper .handle {
    display: none !important;
}

/* Root Container for Theme-E Notifications */
#theme-e-notif-root {
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
    margin: 0 auto;
    background: #021447;
    position: relative;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 501px) {
    #theme-e-notif-root {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
    }
}

/* Top App Header */
.notif-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: #021447;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-sizing: border-box;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notif-back-btn {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    color: #ffffff;
}

.notif-back-btn:active {
    background-color: rgba(255, 255, 255, 0.1);
}

.notif-back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notif-title {
    font-size: 17.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

/* Tabs Bar */
.notif-tabs-container {
    margin: 14px 16px 14px 16px;
    background: #041a54;
    border: 1px solid #16327c;
    border-radius: 8px;
    height: 44px;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.notif-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: all 0.2s ease;
}

.notif-tab:active {
    opacity: 0.85;
}

.notif-tab-text {
    font-size: 15px;
    font-weight: 500;
    color: #8fa5ce;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.notif-tab.active .notif-tab-text {
    color: #d89b1e;
    font-weight: 700;
}

.notif-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2.5px;
    background: #d89b1e;
    border-radius: 2px 2px 0 0;
    display: none;
}

.notif-tab.active .notif-tab-indicator {
    display: block;
}

/* Cards Content Area */
.notif-list-container {
    flex: 1;
    padding: 0 16px 30px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Notification Card - Matches Photo 2 exactly */
.notif-card {
    border: 1.5px solid #d89b1e;
    border-radius: 12px;
    background: linear-gradient(180deg, #002b8a 0%, #001f66 100%);
    padding: 14px 18px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 20, 70, 0.5);
}

.notif-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.notif-icon-megaphone {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-icon-megaphone svg {
    width: 100%;
    height: 100%;
}

.notif-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.1px;
    flex: 1;
}

.notif-card-body {
    font-size: 13px;
    color: #8fa5ce;
    line-height: 1.45;
    word-break: break-word;
    margin-bottom: 8px;
    padding-left: 2px;
}

.notif-card-time {
    font-size: 11.5px;
    color: #6d82a6;
    font-weight: 400;
    padding-left: 2px;
}

/* Empty State */
.notif-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #8fa5ce;
    font-size: 14px;
    gap: 12px;
    text-align: center;
}

.notif-empty-icon {
    width: 50px;
    height: 50px;
    opacity: 0.6;
    stroke: #8fa5ce;
}
