/* index.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff, #fdfdff);
    margin: 0;
}

.login-box {
    width: 100%;
    max-width: 380px;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    
}

.login-box:hover {
    transform: scale(1.02);
}

.login-header img {
    width: 90%;
    max-width: 380px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 15px; /* Adjust for more/less rounding */
    border: 1px solid #000; 
}

.login-header header:last-child {
    font-size: 1.4rem;
    color: #333333;
    font-weight: bold;
    margin-bottom: 1rem;
}

.input-box {
    position: relative;
    margin-bottom: 1.25rem;
}

.input-field {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f7f7f7;
    color: #333333;
    transition: border 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #74ebd5;
    background-color: #ffffff;
    box-shadow: 0px 0px 6px rgba(116, 235, 213, 0.5);
}

.forgot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #666666;
    font-size: 0.9rem;
}

.forgot input[type="checkbox"] {
    margin-right: 8px;
}

.input-submit {
    margin-top: 1.5rem;
}

.submit-btn {
    width: 50%;
    padding: 10px;
    font-size: 15px;
    color: #ffffff;
    background-color: #000000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background-color: #000000;
    transform: scale(1.05);
}

.submit-btn:active {
    background-color: #000000;
}

/* Media Query for Small Screens */
@media (max-width: 400px) {
    .login-box {
        padding: 1.5rem;
        width: 90%;
    }

    .login-header img {
        width: 90%;
    }
}
