body {
    font-family: Arial, sans-serif;
}

.page-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.status-pending {
    color: #fd7e14;
    font-weight: 600;
}

.status-approved {
    color: #198754;
    font-weight: 600;
}

.status-rejected {
    color: #dc3545;
    font-weight: 600;
}

.table thead th {
    vertical-align: middle;
}

.badge-soft-dark {
    background: #e9ecef;
    color: #212529;
}

.login-card {
    max-width: 420px;
    margin: 60px auto;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.lead {
    color: #94a3b8;
    max-width: 550px; 
    margin: 0 auto;
    font-size: 0.95rem; 
    line-height: 1.6;
}

.btn-primary {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

img {
    margin-bottom: 20px;
}

.nyx-desc {
    color: #94a3b8;
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.nyx-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 6px;
    font-size: 50px;
}

.nyx-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nyx-brand-logo {
    height: 40px;
    width: auto;
    display: block;
    transform: translateY(10px);
}

.nyx-brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
    color: #fff;
    display: flex;
    align-items: center;
}

.nyx-desc {
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

.nyx-logo-text {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 8px;
    font-size: 64px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
}

.landing-card {
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.nyx-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nyx-brand-logo {
    height: 40px;
    width: auto;
    display: block;
}

.nyx-brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
    color: #fff;
    display: flex;
    align-items: center;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(120deg, #020617, #0f172a, #020617);
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
    pointer-events: none;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bg-animation::before,
.bg-animation::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.15), transparent);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.bg-animation::after {
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent);
    animation-delay: 6s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(200px, 100px);
    }
    100% {
        transform: translate(0, 0);
    }
}

main {
    position: relative;
    z-index: 1;
}

.logs-wrapper {
    background: #ffffff;
    color: #0f172a;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logs-wrapper table {
    color: #0f172a;
}

.logs-wrapper thead th {
    background: #f1f5f9;
    color: #020617;
    border-bottom: 1px solid #cbd5e1;
}

.logs-wrapper td {
    color: #0f172a;
}

.logs-wrapper tbody tr:nth-child(even) {
    background: #f8fafc;
}

.status-pending { color: orange; }
.status-approved { color: green; }
.status-rejected { color: red; }


#nyx-support-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
}

#nyx-support-toggle {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: #666565;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
}

#nyx-support-toggle:hover {
    transform: scale(1.05);
    background: #3a3a3a;
}

#nyx-support-panel {
    width: 340px;
    max-width: calc(100vw - 40px);
    height: 460px;
    background: rgba(255,255,255,0.96);
    color: #0f172a;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.nyx-support-header {
    background: #666565;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nyx-support-close {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.nyx-support-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f8fafc;
}

.nyx-support-msg {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.nyx-support-msg.ai {
    background: #e2e8f0;
    color: #0f172a;
    align-self: flex-start;
}

.nyx-support-msg.user {
    background: #111827;
    color: #fff;
    margin-left: auto;
}

.nyx-support-form {
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

#nyx-support-input {
    width: 100%;
    min-height: 80px;
    resize: none;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.nyx-support-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.modal {
    z-index: 2000 !important;
}

.modal-dialog {
    z-index: 2001 !important;
    position: relative;
}

.modal-content {
    z-index: 2002 !important;
    position: relative;
    pointer-events: auto;
}

.modal-backdrop {
    z-index: 1990 !important;
}

.modal-backdrop.show {
    opacity: 0.18 !important;
}

.modal-backdrop {
    pointer-events: none !important;
}

.notification-delete-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #dc3545;
    color: #dc3545;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.notification-delete-btn:hover {
    background: #dc3545;
    color: #ffffff;
    text-decoration: none;
}
