* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/img/login.jpg') no-repeat center center;
    background-size: cover;
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 44px 36px 36px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    margin: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

h1 {
    text-align: center;
    font-size: 26px;
    color: #2c2c2c;
    margin-bottom: 32px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: rgba(255, 255, 255, 0.7);
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #7c6a5b;
    box-shadow: 0 0 0 3px rgba(124, 106, 91, 0.15);
}

.login-error {
    background-color: rgba(255, 240, 237, 0.9);
    border: 1px solid #ffccc7;
    color: #a8071a;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

button {
    width: 100%;
    padding: 13px;
    background: #3d3429;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 4px;
}

button:hover {
    background: #564a3c;
}

button:active {
    transform: scale(0.985);
}

button:disabled {
    background: #9a8e82;
    cursor: not-allowed;
    transform: none;
}
