/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Login Page Styling */
.login-logo {
    width: 120px;
    animation: fadeIn 1.5s;
}

.login-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #AE2626; /* REPSSI Red */
    font-family: 'Source Sans Pro', sans-serif;
    animation: slideDown 1.5s;
}

.form-label {
    font-weight: bold;
    color: #5C351A; /* REPSSI Brown */
}

.forgot-password-link {
    text-decoration: none;
    color: #F36F26; /* REPSSI Orange */
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    background-color: #AE2626; /* REPSSI Red */
    color: #FFFFFF; /* White for contrast */
    border: none;
    font-family: 'Baloo 2', sans-serif;
    transition: transform 0.3s, background-color 0.3s;
}

.login-button:hover {
    transform: scale(1.03);
    background-color: #F36F26; /* REPSSI Orange */
}

.password-toggle-icon {
    color: #A9A9C8; /* Neutral Grey for icons */
    font-size: 16px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

input:focus {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
    border-color: #AE2626; /* REPSSI Red for focus */
}

/* Background and container elements */
body {
    background-color: #F9F9F9; /* Light Grey/White background */
    font-family: 'Source Sans Pro', sans-serif;
}

.card {
    border-color: #7C8795; /* REPSSI Grey for card borders */
}

.main-content {
    color: #19242E; /* REPSSI Dark Grey for main text */
}


/* Responsive Design */
@media (max-width: 768px) {
    .login-heading {
        font-size: 24px;
    }

    .form-control {
        font-size: 14px;
    }

    .login-button {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .login-heading {
        font-size: 20px;
    }

    .form-control {
        font-size: 12px;
    }

    .login-button {
        font-size: 12px;
        padding: 8px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

.error-shake {
    animation: shake 0.5s ease-in-out;
}