@font-face {
  font-family: 'sf-arabic';
  src: url(./assests/sf-arabic-regular.ttf);
  font-weight: normal;
  font-style: normal;
}

:root {
    --primary-color: #2563eb;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
}

body {
    font-family: "sf-arabic";
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 600px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Right-to-Left styling for Uyghur Input */
textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    /* margin-bottom: 20px; */
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-size: 18px;
    font-family: "sf-arabic";
    resize: vertical;
    direction: rtl; /* Crucial for Uyghur */
    box-sizing: border-box;
    outline: none;
    resize: none;
}

textarea:focus {
    border-color: var(--primary-color);
}

button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    /* font-weight: bold; */
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    transition: background-color 0.2s;
    font-family: inherit;
}

button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #1d4ed8;
}

#status {
    margin-top: 15px;
    text-align: center;
    /* font-weight: bold; */
    color: #64748b;
}

.log-box {
    background: #1e293b;
    color: #22c55e;
    padding: 15px;
    border-radius: 8px;
    height: 150px;
    overflow-y: auto;
    margin-top: 20px;
    font-family: monospace;
    font-size: 12px;
    direction: ltr; /* Logs should stay LTR */
    text-align: left;
}

