:root {
    --bg-color: #1a1a1a;
    --primary-color: #2a2a2a;
    --secondary-color: #3c3c3c;
    --text-color: #f0f0f0;
    --accent-color: #007bff;
    --border-color: #444;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 2rem;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    color: #a0a0a0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-triple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

label {
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: #c0c0c0;
}

input[type="text"],
textarea,
select {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

textarea {
    resize: vertical;
}

button {
    display: block;
    width: 100%;
    padding: 1rem;
    margin: 2.5rem 0;
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin: 2.5rem 0;
}

.button-group button {
    margin: 0;
}

#reset-btn {
    background-color: var(--secondary-color);
}

#reset-btn:hover {
    background-color: #4e4e4e;
}

button:hover {
    background-color: #0056b3;
}

button:active {
    transform: scale(0.99);
}

.output-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.output-header h3 {
    margin: 0;
    border: none;
    padding: 0;
    font-size: 1.2rem;
}

.copy-btn {
    width: auto;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    background-color: var(--secondary-color);
}

.copy-btn:disabled {
    cursor: default;
    background-color: var(--accent-color);
}

.output-column h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.output-column textarea {
    height: 300px;
    background-color: #252525;
}

textarea#output-english {
    background-color: #222;
    color: #b0b0b0;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .form-grid, .output-section {
        grid-template-columns: 1fr;
    }
    body {
        padding: 1rem;
    }
    .container {
        padding: 1.5rem;
    }
} 