@font-face {
    font-family: 'IRANYekan';
    src: url('data:application/font-woff;base64,<BASE64_ENCODED_IRANYEKAN_REGULAR>') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekan';
    src: url('data:application/font-woff;base64,<BASE64_ENCODED_IRANYEKAN_BOLD>') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('data:application/font-woff;base64,<BASE64_ENCODED_VAZIR_REGULAR>') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('data:application/font-woff;base64,<BASE64_ENCODED_VAZIR_BOLD>') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'IRANYekan', 'Vazir', Arial, sans-serif;
    background-color: #f5f6f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    direction: rtl;
}

.container {
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

h1 {
    color: #00a049;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
}

p {
    color: #555;
    font-size: 16px;
    margin-bottom: 16px;
}

input, select, button {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    font-family: 'IRANYekan', 'Vazir', Arial, sans-serif;
}

input, select {
    background-color: #fafafa;
    color: #333;
}

input:focus, select:focus {
    outline: none;
    border-color: #00a049;
    box-shadow: 0 0 6px rgba(0, 160, 73, 0.2);
}

.start-btn {
    background-color: #00a049;
    color: #fff;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.start-btn:hover {
    background-color: #008c3e;
}

.stop-btn {
    background-color: #d9d9d9;
    color: #333;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.stop-btn:hover {
    background-color: #c0c0c0;
}

.delete-btn {
    background-color: #ff4d4d;
    color: #fff;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.delete-btn:hover {
    background-color: #e60000;
}

.clear-history-btn {
    background-color: #ff8c00;
    color: #fff;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.clear-history-btn:hover {
    background-color: #e67e00;
}

#status {
    max-height: 200px;
    overflow-y: auto;
    text-align: right;
    font-size: 14px;
    white-space: pre-wrap;
    background-color: #fafafa;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    margin-top: 12px;
}

select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: left 12px center;
}