body {
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
    padding: 20px 0;
    background: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    overflow-y: auto;
}

.container {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin: 20px;
    overflow: hidden;
}

h1 {
    font-weight: 800;
    margin-bottom: 20px;
    color: #333333;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    color: #555555;
}

input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    resize: vertical;
    max-width: 100%;
    box-sizing: border-box;
}

textarea.pin-input {
    margin-bottom: 15px;
    height: 100px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    background: #e6a902;
    color: #ffffff;
    margin: 5px;
}

button:hover {
    background: #ffbb00;
    color: #000000;
}

button:nth-child(2) {
    background: #34A853;
}

button:nth-child(2):hover {
    background: #00bb32;
}

.error {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 10px;
}

.output {
    margin-top: 20px;
    white-space: pre-wrap;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 14px;
    color: #333333;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

#pinFields {
    margin-bottom: 20px;
}

#summary {
    margin-top: 10px;
    font-weight: 600;
}

#plainOutput {
    margin-bottom: 20px;
}
