/* Main Stylesheet for Aqui.cr */

/* =========================================
   1. Variables & Global Defaults (from header.php)
   ========================================= */
:root {
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --primary-cr-red: #CE1126;
    --primary-cr-blue: #002B7F;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Default is NOT flex column, unless on V2 pages */
}

/* =========================================
   2. Components (Glass, Navbar, Buttons)
   ========================================= */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    /* Optional hover effect from style.css */
}

.navbar-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: var(--primary-cr-blue);
    border-color: var(--primary-cr-blue);
}

.btn-primary:hover {
    background-color: #001a4d;
}

.text-cr-red {
    color: var(--primary-cr-red);
}

.text-cr-blue {
    color: var(--primary-cr-blue);
}

/* =========================================
   3. V2 Minimal Defaults (Shared by Home & Login)
   ========================================= */
.page-home,
.page-login {
    /* Full Page Gradient: Blue bottom to White (50%) */
    background: linear-gradient(0deg, #0d6efd 0%, #ffffff 50%) no-repeat fixed;
    min-height: 100vh;
    /* Sticky Footer Fix */
    display: flex;
    flex-direction: column;
}

/* =========================================
   4. Home Page Specifics
   ========================================= */
.page-home .navbar-brand {
    display: none !important;
}

.page-home .main-content {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-home .brand-logo-home {
    width: 240px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.page-home .input-box {
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.page-home .input-box:focus-within {
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
}

.page-home .btn-circle-go {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.page-home .btn-circle-go:hover {
    background: #0b5ed7;
    transform: scale(1.1);
}

/* =========================================
   5. Login Page Specifics
   ========================================= */
.page-login .main-content {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-login .login-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.gender-control {
    /* Preserving from old implementation just in case, though not used in V2 yet */
}

/* Minimal Forms */
.form-control-minimal {
    border-radius: 50px;
    padding: 12px 20px;
    border: 1px solid #eee;
    background: #fdfdfd;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
    transition: all 0.3s;
}

.form-control-minimal:focus {
    border-color: #0d6efd;
    background: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.1);
}

.btn-minimal {
    border-radius: 50px;
    padding: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}
