/* IMPORT FONTS (Local) */
@import url('../assets/fonts/poppins.css');

:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary: #3b82f6;
    --accent: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

body {
    background: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 20%);
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* GLASSMORPHISM CARDS */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    border-color: rgba(255,255,255,0.2);
}

/* TYPOGRAPHY & ANIMATIONS */
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.5px; }

.fade-in-up { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateY(20px); }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* CUSTOM FORMS */
.form-control, .form-select {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    border-radius: 10px;
    padding: 9px 12px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    border-color: var(--primary) !important;
    background: rgba(15, 23, 42, 0.9) !important;
}

/* PLACEHOLDER TEXT - BRIGHT & VISIBLE */
.form-control::placeholder {
    color: rgba(203, 213, 225, 0.7) !important;
    opacity: 1;
}

.form-control::-webkit-input-placeholder {
    color: rgba(203, 213, 225, 0.7) !important;
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: rgba(203, 213, 225, 0.7) !important;
    opacity: 1;
}

.form-select option {
    background: #1e293b !important;
    color: white !important;
}

/* BUTTONS */
.btn-grad {
    background-image: linear-gradient(to right, #3b82f6 0%, #8b5cf6 51%, #3b82f6 100%);
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
    transform: scale(1.02);
}

.btn-danger-glow {
    background: linear-gradient(145deg, #ef4444, #b91c1c);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    border: none;
    border-radius: 50px;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
}

/* CLOCK WIDGET */
.clock-widget {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* NAV PILLS */
.nav-pills .nav-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* INPUT GROUP STYLING */
.input-group-text {
    background: transparent;
    color: rgba(148, 163, 184, 0.9) !important;
    border-color: var(--glass-border);
}

.input-group-text i {
    color: rgba(203, 213, 225, 0.8) !important;
    font-size: 1.1rem;
}

/* BADGE STYLING */
.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
}

/* HOVER EFFECTS */
.btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* LOADING ANIMATION */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
    background-size: 1000px 100%;
}

/* MOBILE NAV (Bottom Bar) */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 5%;
    width: 90%;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    display: none;
    justify-content: space-around;
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    border: 1px solid var(--glass-border);
}

.nav-icon { 
    color: var(--text-muted); 
    font-size: 1.4rem; 
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
}

.nav-icon:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-icon.active { 
    color: var(--primary); 
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-3px);
}

.content-area { 
    margin-bottom: 100px; 
}

@media (max-width: 768px) {
    .bottom-nav { display: flex; }
    .clock-widget { font-size: 2rem; }
    .glass-card { border-radius: 16px; }
    h4 { font-size: 1.3rem; }
    .btn-grad, .btn-danger-glow { padding: 10px 25px; font-size: 0.95rem; }
}

/* ═══════ LICENSE WARNING BANNERS ═══════ */
.license-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
    padding: 8px 20px; text-align: center;
    font-size: 0.82rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.license-banner a { color: inherit; text-decoration: underline; font-weight: 700; }
.license-banner-warning { background: #92400e; color: #fbbf24; }
.license-banner-info { background: #1e3a5f; color: #60a5fa; }
.license-banner-danger { background: #7f1d1d; color: #fca5a5; animation: lbPulse 3s infinite; }
@keyframes lbPulse { 0%,100% { opacity:1; } 50% { opacity:0.8; } }