/* Classic 2010 Web Design - Simple White Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    min-height: 100vh;
}

/* Header */
.header {
    border-bottom: 3px solid #0066cc;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.header-content {
    text-align: center;
}

.title {
    font-size: 32px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 10px;
}

.title-icon {
    color: #666;
}

.subtitle {
    font-size: 14px;
    color: #666;
}

/* Main Content */
.main-content {
    margin-top: 20px;
}

.split-pane {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

/* Sections */
.input-section,
.output-section {
    display: table-cell;
    width: 50%;
    padding: 15px;
    vertical-align: top;
    border: 1px solid #ccc;
    background: #fafafa;
}

.section-header {
    background: #e8e8e8;
    padding: 10px;
    margin: -15px -15px 15px -15px;
    border-bottom: 2px solid #ccc;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: inline-block;
}

.button-group {
    float: right;
}

/* Input Container */
.input-container {
    margin-bottom: 15px;
}

.json-input {
    width: 100%;
    min-height: 400px;
    padding: 10px;
    border: 1px solid #999;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    resize: vertical;
    background: white;
}

.json-input:focus {
    outline: 2px solid #0066cc;
    border-color: #0066cc;
}

.error-message {
    margin-top: 10px;
    padding: 10px;
    background: #ffeeee;
    border: 1px solid #cc0000;
    color: #cc0000;
    font-size: 12px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #999;
    background: #f0f0f0;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    margin-left: 5px;
}

.btn:hover {
    background: #e0e0e0;
    border-color: #666;
}

.btn:active {
    background: #d0d0d0;
}

.btn-primary {
    background: #0066cc;
    color: white;
    border-color: #0055aa;
    font-weight: bold;
}

.btn-primary:hover {
    background: #0055aa;
}

.btn-primary:active {
    background: #004499;
}

.btn-large {
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

.btn svg {
    display: none; /* Hide SVG icons for classic look */
}

/* Output Container */
.output-container {
    text-align: center;
    padding: 50px 20px;
}

.empty-state {
    color: #999;
}

.empty-state svg {
    display: none;
}

.empty-state p {
    font-size: 13px;
    line-height: 1.6;
}

/* Tabs */
.output-tabs {
    display: none;
}

.tabs-header {
    background: #e8e8e8;
    padding: 0;
    margin: -15px -15px 15px -15px;
    border-bottom: 2px solid #ccc;
}

.tab-btn {
    padding: 10px 20px;
    background: #d0d0d0;
    border: none;
    border-right: 1px solid #999;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
}

.tab-btn:hover {
    background: #c0c0c0;
}

.tab-btn.active {
    background: #fafafa;
    font-weight: bold;
    color: #0066cc;
}

.tabs-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Code Display */
.code-header {
    background: #f0f0f0;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.code-label {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #666;
    float: left;
}

.copy-btn {
    float: right;
    padding: 3px 8px;
    background: white;
    border: 1px solid #999;
    color: #333;
    font-size: 11px;
    cursor: pointer;
}

.copy-btn:hover {
    background: #e8e8e8;
}

.copy-btn svg {
    display: none;
}

pre {
    margin: 0;
    padding: 15px;
    background: white;
    border: 1px solid #ccc;
    overflow: auto;
    max-height: 500px;
}

.kotlin-code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    color: #000;
}

/* Info Cards */
.info-card {
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0066cc;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.type-display {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}

.type-display code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #000;
}

.info-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #ccc;
    color: #999;
    font-size: 11px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background: #ffffcc;
    color: #333;
    border: 1px solid #cccc00;
    font-size: 12px;
    opacity: 0;
    display: none;
}

.toast.show {
    opacity: 1;
    display: block;
}

.toast svg {
    display: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border: 1px solid #999;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .split-pane {
        display: block;
    }
    
    .input-section,
    .output-section {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .button-group {
        float: none;
        margin-top: 10px;
    }
    
    .section-header {
        overflow: hidden;
    }
}

/* Clear floats */
.section-header:after,
.code-header:after {
    content: "";
    display: table;
    clear: both;
}
