*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.site-content-wrapper{
    margin-top: -40px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    min-height: 100vh;
    color: #e2e8f0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    text-decoration: none;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #f1f5f9;
    letter-spacing: 10px;
}

.subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 30px;
}

.tool-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

    h1 {
        font-size: 1.8rem;
    }

    header {
        flex-direction: column;
        text-align: center;
    }
}

.panel {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.panel-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
}

select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #e2e8f0;
    font-size: 0.9rem;
}

textarea {
    width: 100%;
    height: 400px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 15px;
    color: #e2e8f0;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    resize: vertical;
    line-height: 1.5;
}

textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #475569;
    color: white;
}

.btn-secondary:hover {
    background: #64748b;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    textarea {
        height: 250px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}