/* custom-theme.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --accent-color: #ffc107;
    --text-main: #1a1a1a;
    --text-muted: #4e4e4e;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-bg-darker: rgba(255, 255, 255, 0.96);
    --glass-border: rgba(255, 255, 255, 0.8);
    --input-bg: rgba(255, 255, 255, 0.7);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --radius-xl: 24px;
    --radius-md: 12px;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
}

body {
    background-color: #f0f2f5;
    /* Background Image handled via class or inline in layout */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Background Helpers */
.bg-fixed-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.4), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(3px);
    z-index: -1;
}

/* Glass Card Container */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px; /* Default for auth forms */
    margin: 2rem auto;
    position: relative;
}

.glass-container.wide {
    max-width: 1000px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.2s;
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004494 0%, #002a5c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Form Controls */
.form-control, .form-select, input[type="text"], input[type="email"], input[type="password"], input[type="number"], select {
    background-color: var(--input-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus, input:focus, select:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.form-label, label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Bootstrap Overrides for Glass Feel */
.card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: rgba(0, 86, 179, 0.05); /* Very light blue */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    padding: 1rem 1.5rem;
}

.alert {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-sm);
}

/* Helpers */
.logo-img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.1));
}

/* .w-full { width: 100%; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.block { display: block; }
.text-sm { font-size: 0.875rem; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; } */
