/* Dark theme and reset styles */
* {
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #121212;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 400px;
    width: 90%;
}

h1, .filename {
    text-align: center;
    margin-bottom: 1rem;
    word-break: break-word;
}

.filename {
    font-size: 1.2rem;
    font-weight: bold;
    color: #90caf9;
}

.form-group {
    margin-bottom: 1rem;
}

input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    background: #2a2a2a;
    color: #f0f0f0;
    border: 1px solid #444;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.toggle-visibility {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

button {
    width: 100%;
    background: #3f82f4;
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
}
button:hover {
    background: #2a6ad8;
}

.message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.message.error {
    color: #ef5350;
}

.message.success {
    color: #66bb6a;
}

.download-link {
    display: block;
    margin-top: 1rem;
    text-align: center;
    color: #90caf9;
    font-size: 0.95rem;
}
