body {
    background-color: #d1d8e3;
    min-height: 100vh;
    padding: 20px;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.page-title {
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #6c757d;
    margin-bottom: 30px;
}

textarea {
    font-family: 'Courier New', monospace;
    resize: vertical;
}

.btn-gradient {
    background-color: primary;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-gradient:active {
    transform: translateY(0);
}

#loading {
    display: none;
}

#error, #success {
    display: none;
}

#resultContainer {
    display: none;
}

/* Error detail styles */
.error-detail-toggle {
    display: inline-block;
    margin-top: 8px;
    color: #842029;
    text-decoration: none;
    font-size: 0.9em;
    cursor: pointer;
}

.error-detail-toggle:hover {
    color: #5c1217;
    text-decoration: underline;
}

.error-detail-container {
    margin-top: 10px;
    padding: 12px;
    background-color: #f8d7da;
    border: 1px solid #f1aeb5;
    border-radius: 6px;
}

.error-detail {
    margin: 0;
    padding: 10px;
    background-color: #2d2d2d;
    color: #f8f8f2;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 300px;
    overflow-y: auto;
}

/* Skipped detail styles */
.skipped-detail-toggle {
    display: inline-block;
    margin-top: 8px;
    color: #0a3622;
    text-decoration: none;
    font-size: 0.9em;
    cursor: pointer;
}

.skipped-detail-toggle:hover {
    color: #052c16;
    text-decoration: underline;
}

.skipped-detail-container {
    margin-top: 10px;
    padding: 12px;
    background-color: #d1e7dd;
    border: 1px solid #a3cfbb;
    border-radius: 6px;
}

.skipped-detail {
    margin: 0;
    padding: 10px;
    background-color: #2d2d2d;
    color: #f8f8f2;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 300px;
    overflow-y: auto;
}
