/* ===== Global-ish page styling for ACE Stem Tester ===== */
body {
    font-family: "Amiri", serif;
    font-size: 16px;
    padding: 20px;
    margin: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

th,
td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f3f3f3;
}

/* Arabic + Latin display */
.arabic {
    font-size: 30px;
    direction: rtl;
    font-family: "Amiri", serif;
}

.latin,
.ipa {
    font-family: "Courier New", monospace;
    font-size: 16px;
}

.trans {
    font-family: "Amiri", serif;
    font-size: 16px;
}

/* Legend / documentation nav bar (inside the page) */
.nav-bar a {
    margin-right: 10px;
    text-decoration: none;
    color: #2563eb;
}

.nav-bar a:hover {
    text-decoration: underline;
}

fieldset {
    margin-top: 10px;
}

/* ===== Shared header bar from ace_header.php ===== */
.ace-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}

.ace-header-title {
    font-size: 20px;
    font-weight: bold;
}

.ace-header-nav a {
    margin-right: 8px;
    text-decoration: none;
    color: #2563eb;
    font-size: 14px;
}

.ace-header-nav a:hover {
    text-decoration: underline;
}

.ace-header-sep {
    color: #999;
    margin-right: 8px;
    font-size: 14px;
}
