@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e1e2f, #2c3e50);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; 
    padding-bottom: 70px;
    width: 100%;
}

.login-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    outline: none;
    transition: 0.3s;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus {
    background: rgba(255, 255, 255, 0.3);
}

button {
    background: #ff2d20;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

button:hover {
    background: #fa5a51;
}

.error-message {
    color: #ff5a5f;
    margin-top: 10px;
    font-size: 14px;
    background: rgba(255, 0, 0, 0.2);
    padding: 8px;
    border-radius: 6px;
}

footer {
    width: 100%;
    background: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
}

@media (max-width: 768px) {
    body {
        padding-top: 400px;
    }
}
