* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.password-box {
    background-color: #000;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
}

h1 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

input[type="password"] {
    width: 100%;
    padding: 15px;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
}

input[type="password"]:focus {
    border-color: #666;
}

input[type="password"]::placeholder {
    color: #555;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ddd;
}

button:active {
    background-color: #bbb;
}

button:disabled {
    background-color: #333;
    color: #666;
    cursor: not-allowed;
}

.error-message {
    color: #ff4444;
    font-size: 14px;
    margin-top: 15px;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.error-message.show {
    opacity: 1;
}

.attempts {
    color: #666;
    font-size: 12px;
    margin-top: 10px;
}