html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body{
    background:#f4f6f9;
}

.card{
    border:none;
    border-radius:14px;
}

.card:hover{
    transform:translateY(-4px);
    transition:0.2s;
}

.sidebar{
    min-height:100vh;
    background:#1f2937;
}

.sidebar a{
    color:white;
    text-decoration:none;
    display:block;
    padding:12px;
    border-radius:8px;
}

.sidebar a:hover{
    background:#374151;
}

.display-6{
    font-weight:bold;
}

h1{
    font-weight:700;
}

h2{
    font-weight:700;
}

.table{
    border-radius:14px;
    overflow:hidden;
}

.btn{
    border-radius:10px;
}

.table td, .table th{
    vertical-align: middle;
}

.table a{
    text-decoration: none;
}

.badge{
    padding: 8px 10px;
    border-radius: 10px;
}

.btn-sm{
    padding: 6px 10px;
}
.brand-box{
    text-align:center;
    margin-bottom:30px;
    padding-bottom:20px;
    border-bottom:1px solid rgba(255,255,255,0.15);
}

.brand-main{
    font-size:32px;
    font-weight:900;
    letter-spacing:4px;
    color:#d4af37;
}

.brand-sub{
    font-size:11px;
    letter-spacing:3px;
    color:#cbd5e1;
    margin-top:4px;
}

.brand-crm{
    font-size:12px;
    letter-spacing:2px;
    color:#94a3b8;
    margin-top:8px;
}

.login-page {
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    position: fixed;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 193, 7, 0.18), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.16), transparent 35%),
        linear-gradient(135deg, #0f172a, #111827, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    position: relative;
    z-index: 2;
    width: 430px;
    padding: 38px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.45);
    backdrop-filter: blur(18px);
}

.login-card h1 {
    font-weight: 800;
    letter-spacing: 1px;
}

.animated-bg span {
    position: absolute;
    color: rgba(255, 255, 255, 0.07);
    font-size: 58px;
    font-weight: 900;
    letter-spacing: 4px;
    animation: floatText 14s linear infinite;
}

.animated-bg span:nth-child(1) { top: 12%; left: 8%; }
.animated-bg span:nth-child(2) { top: 24%; right: 6%; animation-delay: 2s; }
.animated-bg span:nth-child(3) { bottom: 22%; left: 10%; animation-delay: 4s; }
.animated-bg span:nth-child(4) { bottom: 10%; right: 14%; animation-delay: 6s; }
.animated-bg span:nth-child(5) { top: 55%; left: 42%; animation-delay: 8s; }

@keyframes floatText {
    0% {
        transform: translateY(40px) scale(0.96);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translateY(-80px) scale(1.08);
        opacity: 0;
    }
}

.login-card {
    position: relative;
    z-index: 2;
    width: 420px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.animated-bg span {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: 42px;
    font-weight: 800;
    animation: floatText 12s linear infinite;
}

.animated-bg span:nth-child(1) { top: 10%; left: 5%; }
.animated-bg span:nth-child(2) { top: 25%; right: 8%; animation-delay: 2s; }
.animated-bg span:nth-child(3) { bottom: 20%; left: 10%; animation-delay: 4s; }
.animated-bg span:nth-child(4) { bottom: 10%; right: 15%; animation-delay: 6s; }
.animated-bg span:nth-child(5) { top: 55%; left: 40%; animation-delay: 8s; }

@keyframes floatText {
    0% {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(-60px) scale(1.05);
        opacity: 0;
    }
}