body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

input[type="file"], 
input[type="password"] {
    width: 95%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

button {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #45a049;
    transform: scale(1.02);
}

button:active {
    background-color: #3e8e41;
    transform: scale(1);
}

p {
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}

pre {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    text-align: left;
    white-space: pre-wrap;
}

.password-container {
    position: relative;
    margin-bottom: 20px;
}

#passwordInput {
    width: 96%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    width: 24px;
    height: 24px;
}

#output {
    margin-top: 20px;
    padding: 10px;
    background-color: transparent;
    min-height: 50px;
    overflow-y: auto; 
    text-align: center;
    transition: background-color 0.3s ease;
}

#output:not(:empty) {
    background-color: transparent;
}
