* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    padding: 34px 30px;
    text-align: center;
}

.login-header h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: 300;
}

.login-header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.login-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 1.05em;
    font-weight: 500;
    color: #333;
}

.form-input {
    padding: 12px 15px;
    font-size: 1em;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #2196F3;
}

.login-button {
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    border: none;
    padding: 14px;
    font-size: 1.1em;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.4);
}

.login-button:active {
    transform: scale(0.97);
}

.flash-msg {
    padding: 12px 20px;
    font-size: 0.95em;
    font-weight: 500;
    border-left: 4px solid;
    border-radius: 6px;
}

.flash-error {
    background: #fdecea;
    color: #c0392b;
    border-color: #e74c3c;
}
