/* Minimal Auth Layout */
body.auth-page {
    background-color: #F9FAFB;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
}

.auth-minimal-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-minimal-card {
    background: white;
    width: 100%;
    max-width: 440px;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Logo Styling Replicated/Adapted */
.auth-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 2rem;
    justify-content: center;
}

.logo-icon-auth {
    width: 32px;
    height: 32px;
    background-color: #00A651;
    /* BAS Green */
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    /* Triangle shape approx */
    border-radius: 4px;
    /* Slight rounded corners if logical */
}

/* Wait, existing logo-icon logic might be complex. Let's rely on standard logo classes if possible, or simple recreation */
.logo-text-auth {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-text-auth .green {
    color: #00A651;
}


.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    color: #1f2937;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    /* Crucial */
}

.form-input:focus {
    border-color: #00A651;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4B5563;
    cursor: pointer;
}

.forgot-password {
    color: #00A651;
    font-weight: 600;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-auth {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.875rem;
    background-color: #00A651;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-auth:hover {
    background-color: #008c44;
}

.signup-query {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #6B7280;
}

.signup-link {
    color: #00A651;
    font-weight: 600;
    text-decoration: none;
}

.signup-link:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: left;
}

.alert-danger {
    background-color: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FEE2E2;
}

.alert-success {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}