@font-face {
    font-family: 'Kruti Dev 010';
    src: local('Kruti Dev 010');
}


:root {
    --bg-light: #f7f8fc;
    --bg-dark: #121212;
    --text-light: #1e1e1e;
    --text-dark: #e0e0e0;
    --card-light: #ffffff;
    --card-dark: #1e1e1e;
    --brand-primary: #4f46e5;
    --brand-secondary: #7c3aed;
    --border-light: #e5e7eb;
    --border-dark: #374151;
}

.text-area-container {
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.text-area-container:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

body.dark .text-area-container {
    background: var(--card-dark);
    border: 2px solid var(--border-dark);
}

body.dark .text-area-container:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

textarea {
    width: 100%;
    min-height: 400px;
    border: none;
    outline: none;
    background: transparent;
    resize: vertical;
    font-size: 16px;
    color: var(--text-light);
    flex-grow: 1;
}

body.dark textarea {
    color: var(--text-dark);
}

#krutiInput {
    font-family: 'Kruti Dev 010', monospace;
    font-size: 22px;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-action {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-light);
}

.btn-action:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(79, 70, 229, 0.05);
}

body.dark .btn-action {
    border-color: var(--border-dark);
    color: var(--text-dark);
}

body.dark .btn-action:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.textarea-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .textarea-wrapper {
        grid-template-columns: 1fr;
    }
}