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

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    color: #0056b3;
    margin-bottom: 25px;
    font-size: 1.8em;
}

h2 {
    color: #0056b3;
    margin: 25px 0 15px 0;
    font-size: 1.4em;
    text-align: left;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.tab {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    color: #666;
}

.tab.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.tab:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.panel {
    display: none;
}

.panel.active {
    display: block;
}

.input-group, .file-input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

textarea, input[type="file"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    resize: vertical;
}

input[type="file"] {
    cursor: pointer;
    padding: 8px;
    border: none;
    background-color: #e9e9e9;
}

.button-group {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 25px;
}

button {
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-grow: 1;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
}

button:active:not(:disabled) {
    background-color: #004085;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.messages {
    margin-top: 25px;
    padding: 15px;
    border-radius: 5px;
    background-color: #e7f3ff;
    border: 1px solid #cceeff;
    color: #333;
    text-align: left;
    font-size: 0.95em;
    min-height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
}

.messages.error {
    background-color: #ffe0e0;
    border-color: #ffcccc;
    color: #cc0000;
}

.messages.show {
    display: flex;
}

#saveKeyButton {
    margin-top: 10px;
    width: 100%;
}

ol {
    text-align: left;
    padding-left: 25px;
    line-height: 1.6;
    color: #333;
}

li {
    margin-bottom: 8px;
}