﻿
/* ---------- GLOBAL STYLES ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 200, 200, 0.9)), url('/Image/whitelogo-removebg-preview.png') no-repeat center center fixed;
    background-size: 900px;
    background-color: #000;
}


/* ---------- LOGIN CARD ---------- */
.login-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 2.8rem;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- LOGO ---------- */
.logo {
    width: 90px;
    height: auto;
    margin-bottom: 1.2rem;
}

/* ---------- HEADER ---------- */
.login-container h1 {
    margin-bottom: 0.3rem;
    font-size: 2rem;
    color: #CC0000;
    font-weight: bold;
}

.login-container p {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1rem;
}

/* ---------- FORM INPUTS ---------- */
.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

    .form-group label {
        font-weight: 600;
        font-size: 0.95rem;
        color: #333;
        display: block;
        margin-bottom: 0.5rem;
    }

    .form-group input {
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
        border: 2px solid #ddd;
        border-radius: 8px;
        outline: none;
        transition: 0.3s;
    }

        .form-group input:focus {
            border-color: #CC0000;
            box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
        }

/* ---------- BUTTON ---------- */
.login-btn {
    width: 100%;
    padding: 0.9rem;
    background: #CC0000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

    .login-btn:hover {
        background: #cc0000;
    }

/* ---------- LINKS ---------- */
.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.2rem;
    font-size: 0.9rem;
}

    .login-links a {
        color: #CC0000;
        text-decoration: none;
        transition: color 0.3s;
    }

        .login-links a:hover {
            text-decoration: underline;
            color: #cc0000;
        }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 500px) {
    .login-container {
        margin: 0 1rem;
        padding: 2rem;
    }

        .login-container h1 {
            font-size: 1.7rem;
        }
}







