body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: url('./img/bg.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: rgba(20, 24, 32, 0.85);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 40px 32px 24px 32px;
    max-width: 350px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    width: 160px;
    margin-bottom: 16px;
    animation: logoPop 1s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes logoPop {
    0% { transform: scale(0.7); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.login-form {
    position: relative;
}

.login-form h2 {
    color: #fff;
    margin-bottom: 32px;
    font-weight: 600;
    letter-spacing: 1px;
}

.input-group {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.input-group input {
    width: 80%;
    margin: 0 auto;
    padding: 12px 14px;
    box-sizing: border-box;
    border-radius: 8px;
    border: none;
    background: #23283a;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.input-group input:focus {
    box-shadow: 0 0 0 2px #00b4d8;
}

.input-group input:invalid {
    box-shadow: none;
}

.input-group input:required:invalid {
    outline: none;
}

.login-btn {
    width: 60%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #01a2c2 0%, #0077b6 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.15);
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
    margin-top: 16px;
}

.login-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.25);
    background: linear-gradient(90deg, #039bb9 0%, #03859c 100%);
   
}

.quote {
    margin-top: 24px;
    color: #b0b8c1;
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.error-message {
    color: #ff2d2d;
    background: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: none;
    position: absolute;
    top: -28px;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transition: opacity 0.7s;
    z-index: 2;
}
