/* Google Fonts - Plus Jakarta Sans (Modern & Premium) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #6366f1;       /* Indigo */
    --primary-light: rgba(99, 102, 241, 0.2);
    --secondary: #a855f7;     /* Purple */
    --bg-dark: #0f172a;       /* Slate 900 */
    --card-bg: rgba(30, 41, 59, 0.7); 
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a, #020617);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- REUSABLE GLASS CARD --- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

/* --- BUTTONS --- */
.btn-prime {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.btn-prime:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-prime:active {
    transform: translateY(0);
}

/* --- INPUTS --- */
.form-control {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: white !important;
    transition: 0.3s all ease !important;
}

.form-control:focus {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px var(--primary-light) !important;
    outline: none;
}

.form-control::placeholder {
    color: var(--text-dim);
    opacity: 0.7;
}

/* --- MODERN TABLES --- */
.table-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.table-custom thead th {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    padding: 0 15px;
    border: none;
}

.table-custom tbody tr {
    background: rgba(255, 255, 255, 0.03);
    transition: 0.3s ease;
}

.table-custom tbody tr:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: scale(1.01);
}

.table-custom td {
    padding: 18px 15px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.table-custom tr td:first-child { border-left: 1px solid var(--glass-border); border-radius: 16px 0 0 16px; }
.table-custom tr td:last-child { border-right: 1px solid var(--glass-border); border-radius: 0 16px 16px 0; }

/* --- BADGES & PILLS --- */
.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.bg-dark {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--glass-border);
}

/* --- UTILITIES --- */
.cursor-pointer { cursor: pointer; }

.text-primary { color: var(--primary) !important; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
        border-radius: 18px;
    }
    
    .table-custom thead {
        display: none; /* Mobile par headings hide karein */
    }
    
    .table-custom, .table-custom tbody, .table-custom tr, .table-custom td {
        display: block;
        width: 100%;
    }
    
    .table-custom tr {
        margin-bottom: 15px;
    }
    
    .table-custom td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none !important;
        border-bottom: 1px solid var(--glass-border) !important;
    }
    
    /* Table label for mobile */
    .table-custom td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        text-align: left;
        font-weight: 700;
        color: var(--primary);
    }
}

/* --- ANIMATIONS --- */
.animate-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
