        @font-face {
        font-family: 'Yekan';
        src: url('../central/admin/assets/fonts/Yekan.woff') format('woff'),
             url('../central/admin/assets/fonts/Yekan.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }

        body {
            background: linear-gradient(135deg, #eef4ff, #f8fafc);
            font-family: Yekan;
            color: #1f2937;
        }

        .page-wrapper {
            max-width: 1250px;
            margin: 40px auto;
        }

        .form-container {
            background: #ffffff;
            border-radius: 18px;
            padding: 35px;
            box-shadow: 0 15px 45px rgba(15, 23, 42, 0.10);
            border: 1px solid #e5e7eb;
        }

        .form-title {
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 8px;
        }

        .form-subtitle {
            color: #64748b;
            font-size: 14px;
            margin-bottom: 28px;
        }

        .section-card {
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 24px;
            background: #fff;
        }

        .section-header {
            background: #f8fafc;
            border-bottom: 1px solid #e5e7eb;
            padding: 14px 18px;
            font-weight: 700;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .section-number {
            width: 30px;
            height: 30px;
            background: #2563eb;
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            font-size: 14px;
        }

        .section-body {
            padding: 20px;
        }

        .form-label {
            font-weight: 600;
            font-size: 14px;
            color: #334155;
        }

        .form-control,
        .form-select {
            border-radius: 10px;
            border-color: #d1d5db;
            font-size: 14px;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15);
        }

        .table {
            vertical-align: middle;
            font-size: 13px;
        }

        .table input {
            min-width: 120px;
        }

        .btn {
            border-radius: 10px;
            font-weight: 600;
        }

        .radio-box {
            background: #f8fafc;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 12px 14px;
        }

        .submit-box {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 18px 0 0;
    margin-top: 20px;
}


        .required::after {
            content: " *";
            color: #dc2626;
        }

        @media (max-width: 768px) {
            .form-container {
                padding: 20px;
                border-radius: 14px;
            }

            .page-wrapper {
                margin: 20px auto;
            }
        }
        body{
background:#f1f5f9;
font-family:Yekan;
color:#0f172a;
}

.page-wrapper{
max-width:1100px;
margin:auto;
padding:15px;
}

.form-container{
background:#fff;
border-radius:20px;
padding:28px;
box-shadow:0 10px 40px rgba(0,0,0,.08);
}

/* header */

.form-title{
font-weight:800;
font-size:26px;
}

.form-subtitle{
color:#64748b;
font-size:14px;
}

/* progress */

.step-progress{
display:flex;
gap:6px;
margin:25px 0;
}

.step-progress div{
flex:1;
height:6px;
background:#e2e8f0;
border-radius:10px;
transition:.3s;
}

.step-progress div.active{
background:#2563eb;
}

/* sections */

.section-card{
display:none;
border:1px solid #e5e7eb;
border-radius:16px;
margin-bottom:20px;
overflow:hidden;
animation:fade .35s ease;
}

.section-card.active{
display:block;
}

@keyframes fade{
from{opacity:0;transform:translateY(8px)}
to{opacity:1;transform:translateY(0)}
}

.section-header{
background:#f8fafc;
padding:15px 18px;
font-weight:700;
display:flex;
align-items:center;
gap:8px;
border-bottom:1px solid #e5e7eb;
}

.section-number{
background:#2563eb;
color:#fff;
width:32px;
height:32px;
display:flex;
align-items:center;
justify-content:center;
border-radius:8px;
font-size:14px;
}

.section-body{
padding:20px;
}

/* inputs */

.form-label{
font-weight:600;
font-size:14px;
}

.form-control,
.form-select{
border-radius:10px;
border:1px solid #d1d5db;
padding:10px 12px;
font-size:14px;
}

.form-control:focus,
.form-select:focus{
border-color:#2563eb;
box-shadow:0 0 0 .15rem rgba(37,99,235,.15);
}

/* radio */

.radio-box{
background:#f8fafc;
border:1px solid #e5e7eb;
border-radius:12px;
padding:12px;
}

/* navigation */

.step-navigation{
display:flex;
gap:10px;
margin-top:25px;
}

.step-navigation button{
flex:1;
height:44px;
font-weight:600;
border-radius:10px;
}

/* submit */

.submit-box{
margin-top:20px;
}

.submit-box button{
height:50px;
font-size:16px;
}

/* mobile */

@media(max-width:768px){

.form-container{
padding:18px;
}

.form-title{
font-size:22px;
}

.section-body{
padding:16px;
}

.form-control,
.form-select{
font-size:16px;
}

.step-navigation button{
height:48px;
}

}
.submit-box{
    display:none;
    
}    
    /* ===============================
   Computer Skills Section
================================ */

.computer-skills-table {
    min-width: 760px;
    margin-bottom: 0;
}

.computer-skills-table td {
    text-align: center;
    vertical-align: middle;
}

.computer-skills-table th {
    font-size: 14px;
    white-space: nowrap;
}

.computer-skills-table .skill-name {
    font-weight: 600;
    text-align: right;
    padding-right: 16px;
    white-space: nowrap;
}

.computer-skills-table .form-check-input {
    appearance: auto !important;
    -webkit-appearance: radio !important;

    display: inline-block !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;

    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    vertical-align: middle !important;
    cursor: pointer;
    accent-color: #0d6efd;
}
.computer-skills-table input[type="radio"] {
    box-sizing: border-box !important;
    background: transparent !important;
}
.computer-skills-table {
    margin-bottom: 0;
}

.computer-skills-table th,
.computer-skills-table td {
    padding: 16px 12px;
}

.computer-skills-table .skill-name {
    text-align: right;
    direction: ltr;
    white-space: nowrap;
    font-weight: 600;
    padding-right: 18px;
}


.computer-skills-table .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* نسخه موبایل به‌صورت پیش‌فرض مخفی است */
.skills-mobile-list {
    display: none;
}

/* موبایل */
@media (max-width: 767.98px) {

    .skills-table-wrapper {
        display: none;
    }

    .skills-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .skill-mobile-card {
        width: 100%;
        border: 1px solid #e3e7ed;
        border-radius: 12px;
        background: #fff;
        padding: 13px 12px;
    }

    .skill-mobile-title {
        direction: ltr;
        text-align: right;
        font-weight: 700;
        font-size: 14px;
        color: #212529;
        padding-bottom: 11px;
        margin-bottom: 11px;
        border-bottom: 1px solid #edf0 repeat(5, }

    .skill-options {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 5px;
        direction: rtl;
    }

    .skill-options label {
        min-width: 0;
        min-height: 62px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 1px solid #e3e7ed;
        border-radius: 8px;
        background: #fafbfc;
        color: #555;
        cursor: pointer;
        font-size: 10px;
        line-height: 1.35;
        text-align: center;
        transition: all 0.2s ease;
    }

    .skill-options label:hover {
        border-color: #0d6efd;
    }

    .skill-options input {
        width: 18px;
        height: 18px;
        margin: 0;
        accent-color: #0d6efd;
        cursor: pointer;
    }

    .skill-options label:has(input:checked) {
        color: #0d6efd;
        background: #eef5ff;
        border-color: #0d6efd;
        font-weight: 700;
    }

    .step-navigation {
        display: flex;
        flex-direction: row-reverse;
        gap: 10px;
    }

    .step-navigation .btn {
        flex: 1;
        min-height: 48px;
        border-radius: 10px;
        font-weight: 700;
    }
}

/* موبایل‌های خیلی باریک */
@media (max-width: 380px) {

    .skill-mobile-card {
        padding: 10px 8px;
    }

    .skill-options {
        gap: 3px;
    }

    .skill-options label {
        min-height: 58px;
        font-size: 9px;
    }

    .skill-options input {
        width: 16px;
        height: 16px;
    }
}
