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

body {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .auth-container {
        position: fixed;
        top: -15%;
        left: 0;
        width: 100%;
        height: 115%;
        max-width: none;
        border-radius: 0;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .auth-container .form-container {
        width: 95%;
        max-width: 550px;
    }
}

.form-container {
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

@media (max-width: 768px) {
    .auth-header {
        margin-bottom: 2rem;
    }
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #a0a0a0;
}

.form-group {
    width: 100%;
    margin-bottom: 0.6rem;
}

.form-group:last-child {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-group {
        width: 100%;
        max-width: 450px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.2;
}

.form-group input {
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.password-input-container {
    position: relative;
    width: 100%;
}

.password-input-container input {
    padding-right: 50px;
    padding: 0.6rem;
    font-size: 1rem;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 28px;
    height: 28px;
    background: url('/imgs/open_eye.png') no-repeat center center;
    background-size: 95%;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    padding: 2px;
}

.toggle-password:hover {
    filter: brightness(0) invert(1) brightness(1.2);
}

.toggle-password.active {
    background: url('/imgs/eye_crossed.png') no-repeat center center;
    background-size: 95%;
    filter: brightness(0) invert(1) brightness(1.2);
}

.login-btn {
    width: 100%;
    padding: 0.6rem;
    margin-top: 1.5rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .login-btn {
        width: 100%;
        max-width: 450px;
        padding: 0.6rem;
    }
}

.login-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
    font-size: 1.25rem;
}

.login-btn:active {
    transform: translateY(0);
    font-size: 1.2rem;
}

.error-message {
    color: #ff4444;
    text-align: center;
    margin-top: 1rem;
    display: none;
}