/* ------------------------------
   ENHANCED FORM - SAFARICOM GREEN THEME
-------------------------------- */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

/* Background */
body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f1fdf5;
    padding:15px;
}

/* Container */
.container{
    background:#ffffff;
    padding:30px 25px;
    width:100%;
    max-width:380px;
    border-radius:18px;
    border:1px solid #d8f5e3;
    box-shadow:0 10px 35px rgba(0, 128, 55, 0.12);
    text-align:center;
    color:#1f2937;
    animation:fadeIn 0.8s ease forwards;
}

/* Title */
.container h2{
    margin-bottom:20px;
    color:#00a94f;
    font-size:1.7rem;
    font-weight:700;
}

/* Form */
form{
    text-align:left;
    display:flex;
    flex-direction:column;
    gap:10px;
}

/* Labels */
label{
    font-weight:600;
    color:#374151;
    font-size:0.85rem;
}

/* Inputs */
input{
    width:100%;
    padding:12px;
    border:1px solid #cfe8d7;
    border-radius:10px;
    outline:none;
    font-size:0.95rem;
    background:#f9fffb;
    color:#1f2937;
    transition:0.3s ease;
}

/* Focus */
input:focus{
    border-color:#00a94f;
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(0, 169, 79, 0.15);
}

/* Button */
.btn{
    width:100%;
    margin-top:15px;
    padding:12px;
    background:#00a94f;
    color:white;
    border:none;
    border-radius:10px;
    font-size:0.95rem;
    font-weight:600;
    cursor:pointer;
    transition:0.3s ease;
    box-shadow:0 6px 18px rgba(0, 169, 79, 0.25);
}

.btn:hover{
    background:#008f43;
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(0, 143, 67, 0.35);
}

/* Help text */
.helptext{
    font-size:11px;
    color:#6b7280;
}

/* Errors */
.errorlist{
    color:#e11d48;
    font-size:12px;
    list-style:none;
    margin-bottom:8px;
    font-weight:600;
}

/* Login link */
.login-link {
    color:#00a94f;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
}

.login-link:hover{
    color:#008f43;
    text-decoration:underline;
}

.google-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    margin-bottom: 16px;
    padding: 11px 14px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    color: #1f2937;
    background: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.google-auth-btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.google-auth-btn:hover {
    color: #1f2937;
    border-color: #b8c2cf;
    background: #f8fafc;
    transform: translateY(-1px);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #7a8699;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #dfe7ef;
}

.auth-message {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    font-size: 0.86rem;
    font-weight: 700;
}

.auth-message.error {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fecaca;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity:0;
        transform:translateY(15px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

/* Small Height Phones */
@media (max-height:650px){
    body{
        align-items:flex-start;
    }

    .container{
        margin-top:20px;
    }
}

/* Mobile Width */
@media(max-width:480px){
    .container{
        padding:20px;
        border-radius:14px;
    }

    input,
    .btn{
        font-size:0.9rem;
    }
}

/* Extra Small Phones */
@media (max-width:360px){
    .container{
        padding:15px;
    }

    .container h2{
        font-size:1.4rem;
    }
}
