@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.woff2') format('woff2');
}

.turanex-form,
.turanex-dashboard,
.turanex-receipt-content {
    direction: rtl;
    text-align: right;
    font-family: 'Vazir', Tahoma, sans-serif !important;
}

.turanex-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

.turanex-form h3 {
    text-align: center;
    margin-bottom: 20px;
}

.turanex-form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

.turanex-form input,
.turanex-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Vazir', Tahoma, sans-serif;
}

.turanex-form button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
}

.turanex-form button:hover {
    background: #005177;
}

.turanex-result {
    margin-top: 20px;
    padding: 15px;
    background: #eef;
    border-radius: 4px;
    text-align: center;
}

/* Dashboard Table */
.turanex-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.turanex-table th,
.turanex-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.turanex-table th {
    background: #f1f1f1;
}

.status-paid {
    color: green;
    font-weight: bold;
}

.status-pending {
    color: orange;
    font-weight: bold;
}

.status-rejected {
    color: red;
}

@media print {
    body * {
        visibility: hidden;
    }

    .turanex-receipt-content,
    .turanex-receipt-content * {
        visibility: visible;
    }

    .turanex-receipt-content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none !important;
    }
}