﻿html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

form[runat="server"] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar */
.seller-navbar {
    background-color: #198754; /* Bootstrap success green */
}

    .seller-navbar .nav-link {
        color: white;
        font-weight: 500;
    }

        .seller-navbar .nav-link:hover {
            color: #ffd700;
        }

/* Footer */
#sellerFooter {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

    #sellerFooter a {
        color: #ffd700;
        text-decoration: none;
    }

        #sellerFooter a:hover {
            text-decoration: underline;
        }

.notif-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    width: 340px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    padding: 10px;
    z-index: 999;
}

/* Notification Card */
.notif-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.18s ease-in-out;
    border: 1px solid #f1f1f5;
}

    /* Unread Highlight */
    .notif-item.unread {
        background-color: #eef4ff;
        border-left: 4px solid #3b82f6;
    }

        .notif-item.unread .notif-text strong {
            font-weight: 600;
            color: #111827;
        }

    /* Hover */
    .notif-item:hover {
        background: #f1f6ff;
        transform: translateY(-1px);
    }

.notif-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}

/* Text */
.notif-text {
    flex-grow: 1;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .notif-text .time {
        font-size: 12px;
        color: #6b7280;
        margin-left: auto;
    }

/* Delete Button */
.notif-delete {
    border: none;
    background: transparent;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.15s;
    align-self: center;
}

    .notif-delete:hover {
        color: #ef4444;
    }

/* Bell counter */
#notifCount {
    font-size: 0.75rem;
    min-width: 18px;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
