* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9e9e9 100%);
}

.login-container {
    width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.header {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 30px 30px 40px 30px;
    text-align: center;
    position: relative;
}

.header h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header p {
    font-size: 14px;
    opacity: 0.8;
}

.login-form {
    padding: 40px 30px;
}

.alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
}

.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-warning {
    background-color: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffecb3;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 6px;
    outline: none;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #ef5350;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
    accent-color: #d32f2f;
}

.remember-me label {
    font-size: 14px;
    color: #555;
}

.forgot-password {
    font-size: 14px;
    color: #d32f2f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #b71c1c;
    text-decoration: underline;
}

.login-button {
    background: linear-gradient(135deg, #ef5350 0%, #d32f2f 100%);
    color: white;
    border: none;
    padding: 14px 25px;
    width: 100%;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.2);
}

.login-button:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    box-shadow: 0 7px 20px rgba(211, 47, 47, 0.3);
    transform: translateY(-2px);
}

.login-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.2);
}

.wave {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: white;
    border-radius: 100% 100% 0 0;
}

@media (max-width: 480px) {
    .login-container {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        margin: 0 20px;
    }
}