/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

/* Mobile-first vertical container */
.auth-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-header h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.auth-header p {
    font-size: 14px;
    color: #7f8c8d;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-biometric {
    width: 100%;
    padding: 12px;
    background-color: #ecf0f1;
    color: #2c3e50;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.alert-error {
    background-color: #fee2e2;
    color: #ef4444;
    border: 1px solid #f87171;
}

.alert-success {
    background-color: #dcfce3;
    color: #22c55e;
    border: 1px solid #4ade80;
}



/* --- Landing Page Styles --- */
.landing-body {
    display: block; /* Overrides the flex centering from auth pages */
    background-color: #f9fafb;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
}

.logo span {
    color: #3498db;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.btn-outline {
    padding: 8px 16px;
    border: 1px solid #3498db;
    color: #3498db;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

.btn-primary-small {
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary-small:hover {
    background-color: #2980b9;
}

/* Hero Section */
.hero {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #e0e6ed;
    line-height: 1.5;
}

.hero-btn {
    display: inline-block;
    width: auto;
    padding: 12px 30px;
    font-size: 18px;
    text-decoration: none;
}

/* Features Section */
.features {
    padding: 50px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50;
    color: #bdc3c7;
    font-size: 14px;
}
