/* HandyHive Authentication Pages Styles */

:root {
    /* Brand Colors from DESIGN.md */
    --hive-yellow: #c84a31;  /* Terracotta - migrated from old yellow */
    --navy: #1e2d40;
    --soft-cream: #faf9f6;
    --neutral-gray: #6b7280;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--soft-cream);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Use dvh variable for iOS Chrome URL bar stability */
    min-height: var(--app-height, 100vh);
}

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 2rem;
}

.login-card {
    background: white;
    border: 1px solid var(--neutral-gray);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(30, 45, 64, 0.1);
    padding: 2rem;
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--navy);
}

.form-control {
    font-family: 'Inter', sans-serif;
    border-color: var(--neutral-gray);
    color: var(--navy);
}

.form-control:focus {
    border-color: var(--hive-yellow);
    box-shadow: 0 0 0 0.2rem rgba(229, 183, 0, 0.25);
}

.btn-primary {
    background-color: #c84a31 !important;
    color: #fefefe !important;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #ed6d57 !important;
    color: #fefefe !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 74, 49, 0.3);
}

.btn-primary:focus,
.btn-primary:active {
    background-color: #ed6d57 !important;
    color: #fefefe !important;
    box-shadow: 0 0 0 0.2rem rgba(200, 74, 49, 0.25) !important;
    border-color: #c84a31 !important;
}

a {
    color: var(--hive-yellow);
    text-decoration: none;
}

a:hover {
    color: #d4a600;
    text-decoration: underline;
}

.text-muted {
    color: var(--neutral-gray) !important;
}

/* Alert styles */
.alert {
    font-family: 'Inter', sans-serif;
    border-radius: 6px;
}

.alert-danger {
    background-color: #fee;
    border-color: #fcc;
    color: #dc2626;
}

.alert-success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}