@import 'components/base.css';
/* @import 'components/header.css'; */
@import 'components/footer.css';

/* Main container */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 3rem - 80px);
    margin-top: 82px;
    position: relative;
    padding: 20px;
    font-family: 'Raleway', sans-serif; /* Default font for body */
}

/* Background image with blur overlay */
.login-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: 1;
}

/* Login content */
.login-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}



.login-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Gradient Text */
.gradient-text {
    background: var(--span-title);
text-shadow: 0 0 5px var(--span-title-light);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Form styling */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    text-align: left;
    animation: slideIn 0.5s ease-in-out forwards;
    opacity: 0; /* Start hidden */
}

/* Staggered animation for each form group */
.form-group:nth-child(1) {
    animation-delay: 0.2s;
}
.form-group:nth-child(2) {
    animation-delay: 0.4s;
}
.form-group:nth-child(3) {
    animation-delay: 0.6s;
}
.form-group:nth-child(4) {
    animation-delay: 0.8s;
}

.form-group label {
    font-size: 0.9rem;
    color: #b0bec5; /* Softer gray for labels */
    margin-bottom: 5px;
    display: block;
    font-family: 'Montserrat', sans-serif; /* Clean font for labels */
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter input background */
    color: #e0e7e9;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif; /* Modern font for inputs */
}

.form-group input:focus {
    outline: none;
    border-color: var(--blue-color); /* Cyan-blue border on focus */
    background: rgba(255, 255, 255, 0.1);
}

/* Button styling */
.form-button button {
    width: 100%;
    padding: 15px;
    border: solid 1px var(--blue-color);
    background: linear-gradient(to right, var(--purple), var(--cyan));
    color: var(--primary-foreground);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transform: scale3d(1, 1, 1);
    transition: all 0.4s;
    font-family: 'Jost', sans-serif; /* Bold font for button */
}

.form-button button:hover {
    transform: scale3d(0.95, 0.95, 0.95);
}

/* Links */
.form-links a {
    color: var(--blue-color); /* Cyan-blue links */
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'Raleway', sans-serif; /* Consistent with inputs */
}

.form-links a:hover {
    color: #3bdcb4; /* Slightly darker shade on hover */
    text-decoration: underline;
}

/* Message box */
.message-box {
    background: rgba(255, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    color: #ff9999; /* Keep error message in a reddish tone for visibility */
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif; /* Consistent with labels */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .login-content h1 {
        font-size: 2rem;
    }

    .login-wrapper {
        max-width: 90%;
    }

    .login-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .login-content h1 {
        font-size: 1.8rem;
    }

    .login-content {
        padding: 20px;
    }

    .form-group input {
        padding: 10px;
    }

    .form-button button {
        padding: 12px;
    }
}