/* ==========================================================================
   Club Colobo Premium Theme - Dark Blue & Gold
   ========================================================================== */

:root {
    --bg-dark: #0A1F44;
    --bg-royal: #123A7A;
    --gold: #D4AF37;
    --gold-hover: #F2CA52;
    --text-main: #FFFFFF;
    --text-muted: #B0C4DE;
    --glass-bg: rgba(18, 58, 122, 0.4);
    --glass-border: rgba(212, 175, 55, 0.2);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    box-shadow: var(--shadow-glow);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* Navbar */
.navbar {
    background: rgba(10, 31, 68, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-gold {
    color: var(--gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Utility Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, 1px); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Dashboard specifics */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.sidebar {
    width: 250px;
    background: var(--bg-royal);
    border-right: 1px solid var(--glass-border);
    padding: 2rem 0;
    position: fixed;
    height: calc(100vh - 80px);
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li a {
    display: block;
    padding: 15px 25px;
    color: var(--text-muted);
    border-left: 3px solid transparent;
}

.sidebar-nav li a:hover, .sidebar-nav li a.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
}

.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-card h3 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.alert-success { background: rgba(40, 167, 69, 0.2); border: 1px solid #28a745; color: #28a745; }
.alert-danger { background: rgba(220, 53, 69, 0.2); border: 1px solid #dc3545; color: #dc3545; }
.alert-info { background: rgba(23, 162, 184, 0.2); border: 1px solid #17a2b8; color: #17a2b8; }
