.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-right: 25px;
}

.header {
    /*color: white;*/
    padding: 30px;
    margin-right: 25px;
    text-align: center;
}

.header h1 {
    margin-bottom: 10px;
}

.header .subtitle {
    opacity: 0.9;
}

.input-section,
.output-section {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

textarea {
    /*width: 100%;*/
    height: 300px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #3498db;
}

.input-textarea {
    background: #f8f9fa;
}

.output-textarea {
    background: #2c3e50;
    color: #ecf0f1;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.convert-btn {
    background: #27ae60;
    color: white;
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.download-btn {
    background: #8bc24a;
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.copy-btn {
    background: #4CAF50;
    color: white;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.clear-btn {
    background: #F44336;
    color: white;
}

.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(149, 165, 166, 0.3);
}

.upload-btn {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.array {
    margin-top: 20px;
    padding: 10px;
    background: #f1f2f6;
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
}

.array a {
    background: #4CAF50;
    padding: 5px;
    border-radius: 6px;
    color: white;
    margin-left: 10px;
}

.array a:hover {
    background: #8bc24a;
}

.example-section {
    margin: 0px 25px 30px 0;
    padding: 15px;
    background: #ecf0f1;
    border-radius: 8px;
}

.example-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.example-code {
    background: #34495e;
    color: #ecf0f1;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    overflow-x: auto;
}

.stats {
    margin-top: 20px;
    padding: 10px;
    background: #f1f2f6;
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
}

.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    background: #27ae60;
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: #e74c3c;
}

@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
    }
}