body {
        background: url('../Pup/Log.jpg')no-repeat center center fixed;
        background-size: cover;
        overflow-x: hidden;
        margin: 0;
    }


    .login-container {
    max-width: 420px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding-bottom: 80px; /* leave space so footer doesn't overlap on small screens */
    position: relative;
    margin: 1.5rem auto;
    transform: none;
    top: auto;
    left: auto;
    transition: transform 160ms ease, box-shadow 180ms ease;
}

  error-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1050; /* Ensure it appears above other elements */
        max-width: 300px;
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
        border-radius: 5px;
        padding: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        opacity: 1;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }


/* login btn */
.login-btn {
    background-color: #800000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    transition: background-color 0.3s ease;
     margin-top: 10px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
}


  .spinner-border {
        width: 1rem;
        height: 1rem;
        vertical-align: middle;
    }
.login-btn:hover {
    background-color: #a00000;
}


/* Login Form */
.custom-title { /* Login part */
    color: #800000; /* Green */
    font-weight: bold;
}


 .password-toggle:focus {
        outline: 2px solid #007bff;
    }
       .password-toggle {
        cursor: pointer;
        background: none;
        border: none;
        outline: none;
        box-shadow: none;
        padding: 0 0.75rem;
        display: flex;
        align-items: center;
    }
   
  
    .mt-3, .mt-2 {
        margin-top: 1rem !important;
    }
    .alert-warning {
        color: #856404;
        background-color: #fff3cd;
        border-color: #ffeeba;
        margin-bottom: 1rem;
    }
.create-account-btn {
    background-color: #800000;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    transition: background-color 0.3s ease;
}

/* Footer */
.footer {
    position: fixed;
    font-family: "Times New Roman", Times, serif;
    background-color: #800000;
    color: #fff;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    border-radius: 0 0 8px 8px; /* Optional rounded corners */
}
/* .footer-spacer {
    height: 60px;
} */

/* ensure footer doesn't overlap content on shorter viewports */
.footer-spacer {
    height: 72px;
}

/* increase input / button touch targets */
.form-control {
    font-size: 1rem;
    padding: 12px 14px;
    border-radius: 8px;
}

/* make the input group and button more touch friendly */
.input-group .form-control {
    border-radius: 8px 0 0 8px;
}
.input-group .password-toggle {
    border-radius: 0 8px 8px 0;
    padding: 0 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* larger, more tappable button */
.login-btn, .create-account-btn {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 10px;
}

/* responsive adjustments */
@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
        padding: 18px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        padding-bottom: 90px;
    }
    .logo-img { max-width: 60%; }
    .form-control { font-size: 1rem; padding: 12px; }
    .login-btn { font-size: 1rem; padding: 12px; }
}

/* small phones */
@media (max-width: 420px) {
    .login-container { padding: 14px; margin: 0.8rem; border-radius: 10px; }
    .logo-img { max-width: 72%; }
    .custom-title { font-size: 1rem; line-height: 1.1; }
    .footer-spacer { height: 84px; }
}

/* keep footer styling unchanged */

