/* style.css */
@font-face {
              font-family: Parastoo;
              src: url('../compindex/font/Parastoo.eot');
              src: url('../compindex/font/Parastoo.eot?#iefix') format('embedded-opentype'),
                url('../compindex/font/Parastoo.woff2') format('woff2'),
                url('../compindex/font/Parastoo.woff') format('woff'),
                url('../compindex/font/Parastoo.ttf') format('truetype');
              font-weight: normal;
            }
        
            @font-face {
              font-family: Parastoo;
              src: url('../compindex/font/Parastoo-Bold.eot');
              src: url('../compindex/font/Parastoo-Bold.eot?#iefix') format('embedded-opentype'),
                url('../compindex/font/Parastoo-Bold.woff2') format('woff2'),
                url('../compindex/font/Parastoo-Bold.woff') format('woff'),
                url('../compindex/font/Parastoo-Bold.ttf') format('truetype');
              font-weight: bold;
            }

body {
    font-family: Parastoo, Tahoma, Arial, sans-serif;
    background-color: #f0f4f8;
    color: #2c3e50;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
}

.btn {
    font-family: Parastoo;
}

.header {
    background-color: #1a365d; /* سرمه‌ای هوانوردی */
    color: #ffffff;
    padding: 20px;
    text-align: center;
    border-bottom: 4px solid #3182ce;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.login-box {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h2 {
    color: #1a365d;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
}

.btn {
    background-color: #3182ce;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.btn:hover {
    background-color: #2b6cb0;
}

.exam-card {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7fafc;
}

.exam-info {
    flex-grow: 1;
}

.exam-status {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.status-active {
    background-color: #c6f6d5;
    color: #22543d;
}

.status-inactive {
    background-color: #fed7d7;
    color: #742a2a;
}

.btn-exam {
    background-color: #2b6cb0;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
}

.btn-exam.disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
    pointer-events: none;
}

/* استایل‌های مودال تسویه حساب بدهی */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 10px;
    box-sizing: border-box;
}

.modal-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-top: 6px solid #e53e3e; /* نوار قرمز هشدار */
    text-align: right;
    direction: rtl;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.payment-box {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
}

.payment-box h4 {
    margin-top: 0;
    color: #2b6cb0;
}

.payment-box ul {
    padding-right: 20px;
    margin: 8px 0;
}

.payment-box li {
    margin-bottom: 5px;
}