body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

h1 {
    color: #58a6ff;
    text-align: center;
    margin-bottom: 10px;
}
h2 {
    font-size: 1.2rem;
    color: #8b949e;
    border-bottom: 1px solid #30363d;
    padding-bottom: 5px;
    margin-top: 30px;
}

.description {
    text-align: center;
    color: #8b949e;
    margin-bottom: 30px;
}

.control-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #8b949e;
    font-weight: 600;
}

input[type="text"], input[type="number"], select, textarea {
    width: 100%;
    padding: 8px 12px;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    box-sizing: border-box;
    font-size: 14px;
}

textarea {
    font-family: 'Consolas', 'Monaco', monospace;
    min-height: 150px;
    resize: vertical;
}

.row {
    display: flex;
    gap: 20px;
}
.col {
    flex: 1;
}

.actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

button {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary {
    background-color: #238636;
    color: white;
}
.btn-primary:hover {
    background-color: #2ea043;
}

.btn-verify {
    background-color: #1f6feb;
    color: white;
}
.btn-verify:hover {
    background-color: #388bfd;
}

.output-section {
    background-color: #0d1117;
    border: 1px solid #30363d;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}
.status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}
.status.success {
    background-color: rgba(46, 160, 67, 0.2);
    border: 1px solid #2ea043;
    color: #2ea043;
    display: block;
}
.status.error {
    background-color: rgba(248, 81, 73, 0.2);
    border: 1px solid #f85149;
    color: #f85149;
    display: block;
}

.note {
    font-size: 0.85rem;
    color: #8b949e;
    margin-top: 5px;
}

/* Loader */
.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    display: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
