@font-face{

    font-family:'Vazirmatn';

    src:url('../fonts/Vazirmatn-Regular.woff2')
    format('woff2');

    font-weight:400;

    font-style:normal;

    font-display:swap;

}


/* اعمال روی کل صفحات افزونه */

html,
body,
input,
textarea,
select,
button,
label,
a,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p{

    font-family:
    'Vazirmatn',
    sans-serif !important;

}
/* =========================
   Academy Register UI
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    direction:rtl;
    background:#f5f7fa;
    font-family:tahoma,sans-serif;
    min-height:100vh;
}

.academy-register{
    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:40px 20px;
}

.academy-wrap{

    width:100%;

    max-width:1400px;

    margin:0 auto;

    padding:40px;

}

.academy-card{

    width:100%;

    background:#fff;

    border-radius:28px;

    padding:48px;

    box-sizing:border-box;

}

.academy-register h1{

    text-align:center;

    font-size:42px;

    margin-bottom:12px;

    color:#111827;
}

.academy-register .sub{

    text-align:center;

    color:#6b7280;

    margin-bottom:40px;

    font-size:15px;

}

.academy-card form{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.academy-card label{

    display:block;

    margin-bottom:10px;

    font-size:14px;

    color:#374151;

    font-weight:600;

}

.academy-card input,
.academy-card textarea{

    width:100%;

    height:58px;

    border:1px solid #d7dce2;

    border-radius:16px;

    padding:0 18px;

    background:#fafafa;

    font-size:15px;

    transition:.2s;

}

.academy-card textarea{

    height:140px;

    padding-top:15px;

}

.academy-card input:focus,
.academy-card textarea:focus{

    outline:none;

    border-color:#0f766e;

    background:#fff;

    box-shadow:
        0 0 0 4px rgba(15,118,110,.12);

}

input[type=file]{

    padding:14px;

}

.academy-card button{

    margin-top:10px;

    height:62px;

    border:none;

    border-radius:18px;

    background:#0f766e;

    color:#fff;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.academy-card button:hover{

    transform:translateY(-2px);

    background:#115e59;

}

@media(max-width:768px){

    .academy-card{

        padding:30px;

        border-radius:22px;

    }

    .academy-register h1{

        font-size:30px;

    }

}
/* =================
LOGIN
================= */

.academy-login{

    max-width:620px;

    margin:auto;

}

.academy-alert{

    background:#fff1f2;

    color:#be123c;

    padding:16px;

    border-radius:14px;

    margin-bottom:24px;

    text-align:center;

    border:1px solid #fecdd3;

}

.academy-login form{

    display:flex;

    flex-direction:column;

    gap:24px;

}

.academy-btn{

    width:100%;

}
/* ===== PROFILE ===== */

.academy-profile{

    max-width:1200px;

    margin:40px auto;

    padding:32px;

}


.academy-profile-head{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    padding-bottom:28px;

    margin-bottom:28px;

    border-bottom:1px solid #edf1f4;

}


.academy-user{

    display:flex;

    align-items:center;

    gap:24px;

}


.academy-avatar{

    width:90px;

    height:90px;

    border-radius:50%;

    background:#edf8f5;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

}


.academy-user h1{

    margin:0;

    font-size:34px;

    line-height:1.2;

}


.academy-status{

    margin-top:8px;

    font-size:18px;

    color:#168775;

}


.academy-profile-side{

    min-width:220px;

    display:flex;

    flex-direction:column;

    gap:16px;

}


.academy-id-box{

    display:flex;

    align-items:center;

    gap:16px;

}


.academy-icon{

    width:56px;

    height:56px;

    border-radius:16px;

    background:#edf8f5;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

}


.academy-id-box strong{

    font-size:28px;

}


.academy-logout-btn{

    width:170px;

    height:52px;

    border-radius:12px;

}


.academy-info-grid{

    display:grid;

    grid-template-columns:

        repeat(
            3,
            minmax(0,1fr)
        );

    gap:18px;

}


.academy-info-item{

    min-height:150px;

    padding:24px;

    border:1px solid #edf1f4;

    border-radius:20px;

}


.academy-info-item span{

    display:block;

    font-size:15px;

    margin-bottom:10px;

    color:#7c8798;

}


.academy-info-item strong{

    font-size:24px;

}


.academy-full{

    grid-column:span 2;

}


.academy-files{

    margin-top:32px;

}


.academy-files h3{

    font-size:22px;

}


.academy-files-grid{

    display:grid;

    grid-template-columns:

        repeat(
            auto-fit,
            minmax(220px,1fr)
        );

    gap:14px;

}


.academy-file{

    height:56px;

    border-radius:14px;

    font-size:16px;

}



/* MOBILE */

@media(max-width:900px){

    .academy-profile{

        padding:20px;

    }

    .academy-profile-head{

        flex-direction:column;

        align-items:flex-start;

    }

    .academy-user{

        width:100%;

    }

    .academy-user h1{

        font-size:28px;

    }

    .academy-info-grid{

        grid-template-columns:1fr;

    }

    .academy-full{

        grid-column:auto;

    }

}
.academy-grid{
    display:grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:20px;
}

.academy-full{
    grid-column:1 / -1;
}

@media(max-width:900px){

    .academy-grid{

        grid-template-columns:1fr;

    }

}
/* ===== FORM ===== */

.academy-form{
    margin-top:28px;
}


.academy-grid{

    display:grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:18px;

}


.academy-field{

    position:relative;

    display:flex;

    flex-direction:column;

}


.academy-field label{

    color:#667085;

    font-size:14px;

    font-weight:700;

    margin-bottom:10px;

    padding-right:6px;

}


.academy-field input,
.academy-field select,
.academy-field textarea{

    width:100%;

    background:#fff;

    border:1px solid #e8edf3;

    border-radius:18px;

    padding:18px 20px;

    min-height:60px;

    font-family:inherit;

    font-size:15px;

    transition:.25s;

    box-shadow:
        0 10px 30px rgba(16,24,40,.03);

}


.academy-field textarea{

    min-height:160px;

    resize:vertical;

}


.academy-field input:hover,
.academy-field select:hover,
.academy-field textarea:hover{

    border-color:#b7e5dd;

}


.academy-field input:focus,
.academy-field select:focus,
.academy-field textarea:focus{

    outline:none;

    border-color:#167d72;

    box-shadow:
        0 0 0 5px rgba(22,125,114,.08),
        0 14px 40px rgba(22,125,114,.12);

    transform:translateY(-1px);

}


.academy-field select{

    appearance:none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #167d72 50%
        ),
        linear-gradient(
            135deg,
            #167d72 50%,
            transparent 50%
        );

    background-position:
        calc(18px) 50%,
        calc(12px) 50%;

    background-size:
        6px 6px;

    background-repeat:no-repeat;

}


.academy-grid .academy-full{

    grid-column:1 / -1;

}


.academy-btn{

    margin-top:26px;

    width:100%;

    height:62px;

    border:none;

    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            #167d72,
            #1d9b8d
        );
    color:#fff;
    font-size:18px;
    font-weight:800;
    cursor:pointer;
    transition:.25s;
    box-shadow: 0 20px 50px rgba(22,125,114,.18);
    text-align: center;
    align-content: center;

}


.academy-btn:hover{

    transform:
        translateY(-2px);

    box-shadow:
        0 26px 60px rgba(22,125,114,.25);

}


.academy-alert{

    border:none;

    border-radius:18px;

    padding:20px;

    margin-bottom:24px;

    font-size:15px;

    background:
        linear-gradient(
            135deg,
            #eefaf7,
            #ffffff
        );

    color:#167d72;

}


.academy-alert-error{

    background:
        linear-gradient(
            135deg,
            #fff3f5,
            #ffffff
        );

    color:#d92d20;

}


@media(max-width:900px){

    .academy-grid{

        grid-template-columns:1fr;

    }

}
