@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, #e0f2fe, #c7d2fe, #fbcfe8);
    min-height: 100vh;
    color: #1f2937;
}

.glass-container {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 16px;
}

.table-container::-webkit-scrollbar { height: 6px; width: 6px; }
.table-container::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 3px; }
.table-container::-webkit-scrollbar-track { background: transparent; }

.glass-container table { background-color: transparent !important; }
.glass-container thead { background-color: rgba(255, 255, 255, 0.5) !important; }
.glass-container tbody tr { background-color: rgba(255, 255, 255, 0.25) !important; border-bottom: 1px solid rgba(255,255,255,0.3); }
.glass-container tbody tr:hover { background-color: rgba(255, 255, 255, 0.7) !important; }

tbody tr { cursor: pointer; transition: background-color 0.2s; }

.ai-result-item { animation: fadeIn 0.3s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
    .mobile-hidden { display: none; }
    th, td { padding: 0.5rem 0.5rem; font-size: 0.75rem; }
}

.input-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: #6b7280; margin-bottom: 2px; display: block; }

/* =========================================
   NEW: ADMIN BUTTON STYLES
   ========================================= */

/* 1. Utility to hide the button initially */
.hidden {
    display: none !important;
}

/* 2. Admin Link Wrapper */
#admin-link {
    text-decoration: none;
    display: inline-block;
    margin-left: 15px; /* Adds space if placed next to other nav items */
}

/* 3. The Button Itself (Styled to match your theme) */
#admin-link button {
    font-family: 'Inter', sans-serif; /* Matches your body font */
    background-color: #dc3545;        /* Distinct "Admin Red" */
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;               /* Soft corners like your glass container */
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.3); /* Red glow shadow */
}

#admin-link button:hover {
    background-color: #c82333;
    transform: translateY(-2px);      /* Lifts slightly on hover */
    box-shadow: 0 6px 8px rgba(220, 53, 69, 0.4);
}