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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        linear-gradient(135deg, rgba(12, 12, 12, 0.8) 0%, rgba(26, 26, 26, 0.8) 50%, rgba(45, 45, 45, 0.8) 100%),
        url('../Assets/background-bw.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-box {
    background: rgba(30, 30, 30, 0.068);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(8px);
    text-align: center;
}

h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 2.2em;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

p {
    color: #b0b0b0;
    margin-bottom: 30px;
    font-size: 1.1em;
    font-weight: 400;
    line-height: 1.5;
}

input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #404040;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(20, 20, 20, 0.8);
    color: #ffffff;
    outline: none;
    margin-bottom: 20px;
}

input[type="password"]:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(30, 30, 30, 0.9);
}

input[type="password"]:hover {
    border-color: #555555;
}

input[type="password"]::placeholder {
    color: #888888;
}

button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    margin-bottom: 20px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

button:active {
    transform: translateY(-1px);
}

.error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: none;
}

.error:not(:empty) {
    display: block;
}

@media (max-width: 480px) {
    .login-box {
        padding: 25px;
        margin: 10px;
        max-width: 350px;
    }

    h2 {
        font-size: 1.8em;
    }

    p {
        font-size: 1em;
    }

    input[type="password"] {
        padding: 12px;
        font-size: 14px;
    }

    button {
        padding: 15px;
        font-size: 16px;
    }
}