@tailwind base;
@tailwind components;
@tailwind utilities;


/* public/css/app.css */

/* --- 1. Global Dark Theme Base --- */
body.app-body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0f172a; /* Deep Navy/Black */
    background-image: radial-gradient(circle at 50% 0%, #1e293b, #0f172a);
    color: #e2e8f0; /* Light text */
    margin: 0;
    
    /* Sticky Footer Setup */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- 2. Header / Navigation --- */
.app-header {
    background-color: rgba(15, 23, 42, 0.85); /* Semi-transparent dark */
    backdrop-filter: blur(12px); /* Glass effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0 2rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 70px; /* Fixed height for navbar */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo styling matching Auth page */
.app-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Navigation Links */
.app-nav {
    display: flex;
    gap: 2rem;
}

.app-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.app-nav a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.app-nav a.active {
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid #60a5fa;
    padding-bottom: 4px;
}

/* User Area & Logout Button */
.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-name {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.btn-logout {
    background-color: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-logout:hover {
    border-color: #ef4444; /* Red border on hover */
    color: #ef4444;
}

/* --- 3. Main Content Wrapper --- */
.app-content {
    /* Pushes footer down to bottom of screen */
    flex-grow: 1; 
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem; /* Basic padding so content isn't flush against edge */
    box-sizing: border-box;
}

/* --- 4. Footer --- */
.app-footer {
    background-color: #020617; /* Very dark, almost black */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin-top: auto; /* Ensures it stays at bottom */
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-links a {
    color: #64748b;
    margin-left: 1.5rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #94a3b8;
}

/* --- Mobile Responsiveness (Basic) --- */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    /* Hide nav text on small screens or switch to hamburger (simplified here) */
    .app-nav {
        display: none; /* For now, hiding nav on mobile to keep it clean */
    }
    
    .user-name {
        display: none;
    }
}