@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    height: 100vh; /* Full height */
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to left, #1e2b5b, #9384ff);
    flex-direction: column; /* Vertically align content */
}

/* Login Page Container */
.login-page {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Center Text Section */
.center-text {
    text-align: center;
    margin-bottom: 20px;
}

.center-text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.center-text .login-text {
    font-size: 1.1rem;
    color: #666;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fdfdfd;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 5px rgba(26, 115, 232, 0.3);
}

/* Error Message */
#error-message {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Forgot Password Link */
.forgot-password {
    text-decoration: none;
    font-size: 0.9rem;
    color: #1a73e8;
    margin-bottom: 20px;
    align-self: flex-end;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0f5ec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-page {
        width: 100%;
        margin: 0 20px;
    }

    .center-text h1 {
        font-size: 1.8rem;
    }
}
