@font-face {
    font-family: 'Samarkan';
    src: url('../fonts/samarkan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Theganesha';
    src: url('../fonts/Theganesha-V5OB.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --desi-red: #8B0000;
}

/* Matches your footer */

body {
    margin: 0;
    padding: 0;
    font-family: 'Theganesha', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/mobile-bg.png');
    background-size: cover;
    background-position: center;

    /* ADJUST ONLY THIS: 0.1 is very dark, 0.9 is very bright */
    opacity: 0.4;

    z-index: -1;
    /* Keeps it behind the login card */
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border-top: 5px solid var(--desi-red);

    /* opacity: 0; */
    animation-name: fadeIn;
    animation-duration: 1.2s;
    animation-timing-function: ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}

h1 {
    font-family: 'Samarkan', serif;
    color: var(--desi-red);
    margin-bottom: 10px;
}

p {
    margin-bottom: 30px;
    color: #666;
    font-size: 0.9rem;
}

input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    text-align: center;
}

button {
    background-color: var(--desi-red);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

button:hover {
    opacity: 0.9;
}

.error {
    color: red;
    font-size: 0.8rem;
    margin-top: 10px;
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* Slides up slightly as it fades in */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}