/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('../images/login-background-banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Login Container */
.login-container {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 2em;
    margin-top: 20px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    color: white;
    border: 2px solid;
    border-image: linear-gradient(45deg, #6C63FF, #3B82F6) 1;
    animation: fadeAtBeginning 0.8s ease-out;
}

@keyframes fadeAtBeginning {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo {
    max-width: 200px;
}

.logo:hover {
    animation: spin 1s ease;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Title */
.login-container h1 {
    font-size: 1.8em;
    margin-bottom: 1em;
}

/* Description */
.login-container p {
    font-size: 1em;
    margin-bottom: 1.5em;
    font-weight: 500;
}

/* Input Fields */
input[type="email"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 0.8em 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

input[type="email"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #6C63FF;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

label {
    display: block;
    font-size: 0.9em;
    color: white;
    text-align: left;
}

label[for="password"] {
    margin-top: 20px;
}

/* Button */
button {
    background-color: #6C63FF;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

button:hover {
    background-color: #4A42CC;
    transform: scale(1.05);
}

/* Options */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1em 0;
}

.options a {
    color: #6C63FF;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease-in-out;
}

.options a:hover {
    color: #4A42CC;
}

/* Error Messages */
.error-message {
    color: #FF0000;
    font-size: 0.9em;
    margin-top: 1em;
    display: none;
}

/* Social Login */
.social-login {
    margin-top: 1.5em;
    font-size: 0.9em;
    color: white;
}

.social-icons img {
    width: 40px;
    margin: 0 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.25);
}

/* Redirect Link */
.redirect {
    margin-top: 1.5em;
    font-size: 0.9em;
}

.redirect a {
    color: #6C63FF;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.redirect a:hover {
    color: #4A42CC;
}

/* Footer */
footer {
    margin: 1em 0;
    font-size: 0.8em;
    text-align: center;
    color: white;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 600px) {
    .login-container {
        padding: 1.5em;
    }

    .login-container h1 {
        font-size: 1.5em;
    }

    input[type="email"], input[type="password"] {
        font-size: 0.9em;
    }

    button {
        font-size: 0.9em;
    }
}