.login-required{
    width:100%;
    max-width:460px;
    text-align:center;
    background:#fff;
    padding:60px 40px;
    border-radius:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
    margin: auto;
}

.login-required .icon{
    width:110px;
    height:110px;
    margin:0 auto 25px;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    box-shadow:0 12px 35px rgba(37,99,235,.35);
}

.login-required h2{
    font-size:24px;
    color:#1f2937;
    margin-bottom:12px;
    font-weight:700;
}

.login-required p{
    color:#6b7280;
    line-height:1.9;
    margin-bottom:35px;
    font-size:15px;
}

.login-required .btn-login{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    padding:14px 34px;
    border-radius:12px;
    font-weight:700;
    transition:.25s;
}

.login-required .btn-login:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(37,99,235,.35);
}


.dashboard-wrapper{

    display:flex;
    gap:28px;
    padding:0;
    min-height:100vh;
}

/* Sidebar */

.dashboard-sidebar{

    width:290px;
    background:#fff;
    border-radius:22px;
    padding:28px;
    box-shadow:
        0 15px 35px rgba(16,24,40,.06);
    border:1px solid #edf1f7;

}

.sidebar-header{

    text-align:center;
    padding-bottom:30px;
    margin-bottom:25px;
    border-bottom:1px solid #eef2f7;

}

.avatar{

    width:82px;
    height:82px;
    margin:auto;
    border-radius:50%;
    background:#eef5ff;
    color:#0746A0;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;

    margin-bottom:15px;
}

.user-info h3{

    font-size:18px;
    font-weight:700;
    margin-bottom:6px;

}

.user-info span{

    color:#7a8599;
    font-size:14px;

}

/* Menu */

.dashboard-menu{

    display:flex;
    flex-direction:column;
    gap:10px;

}

.dashboard-menu a{

    display:flex;
    align-items:center;
    gap:14px;

    text-decoration:none;
    color:#5d6778;

    padding:15px 18px;

    border-radius:14px;

    transition:.25s;

    font-weight:500;

}

.dashboard-menu a i{

    width:24px;
    text-align:center;
    font-size:18px;

}

.dashboard-menu a:hover{

    background:#f5f9ff;
    color:#0746A0;

}

.dashboard-menu a.active{

    background:#0746A0;
    color:#fff;

    box-shadow:
        0 10px 25px rgba(7,70,160,.22);

}

.dashboard-menu a.active i{

    color:#fff;

}

.dashboard-menu .logout{

    margin-top:18px;
    color:#d64f4f;

}

.dashboard-menu .logout:hover{

    background:#fff1f1;

}

/* Content */

.dashboard-content{

    flex:1;

}

.content-box{

    background:#fff;
    border-radius:22px;
    min-height:700px;
    padding:35px;

    border:1px solid #edf1f7;

    box-shadow:
        0 15px 35px rgba(16,24,40,.06);

}

.content-box h2{

    color:#0746A0;
    margin-bottom:20px;
    font-size:28px;

}

.content-box p{

    color:#667085;
    line-height:2;

}

.chabok-dashboard {
    direction: rtl;
    font-family: inherit;
}


/* عنوان */

.chabok-dashboard-title {
    margin-bottom: 25px;
    font-weight: 700;
}



/* بنر */

.chabok-dashboard-banner {
    width:100%;
    overflow:hidden;
    border-radius:24px;
    margin-bottom:25px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}


.chabok-dashboard-banner img {
    width:100%;
    height:auto;
    display:block;
}



/* welcome */


.chabok-dashboard-welcome {

    background:#fff;
    border-radius:22px;

    padding:25px;

    display:flex;
    align-items:flex-start;
    gap:18px;

    margin-bottom:30px;

    box-shadow:
    0 8px 30px rgba(0,0,0,.06);

    border:1px solid #f1f1f1;

}


.welcome-icon {

    width:55px;
    height:55px;

    flex:none;

    background:#f5f7ff;

    border-radius:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:28px;

}


.welcome-content {

    line-height:2;
    color:#555;

}


.welcome-content p:last-child {
    margin-bottom:0;
}




/* لینک ها */


.chabok-dashboard-links {

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(120px,1fr));

    gap:18px;

}




.chabok-dashboard-link {


    background:#fff;

    border-radius:20px;

    padding:18px 10px;

    text-decoration:none;

    color:#333;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:12px;


    border:1px solid #eee;


    transition:.25s ease;


}



.chabok-dashboard-link:hover {

    transform:translateY(-5px);

    box-shadow:
    0 12px 30px rgba(0,0,0,.1);

    color:#2271b1;

}



.dashboard-link-icon {

    width:52px;
    height:52px;

    border-radius:16px;

    overflow:hidden;

    background:#f7f7f7;

    display:flex;

    align-items:center;

    justify-content:center;

}



.dashboard-link-icon img {

    width:32px;
    height:32px;

    object-fit:contain;

}



.chabok-dashboard-link span {

    font-size:14px;

    font-weight:600;

    text-align:center;

}

.chabok-profile-form input,
.chabok-profile-form textarea,
.chabok-profile-form select {
    width: 100%;
    border-radius: 7px;
    line-height: 27px;
    font-size: 15px;
    border: 1px solid #aaa;
    line-height: 2.5;
    padding: 10px;
    font-family: inherit;
}

.chabok-profile-form .chabok-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.chabok-profile-form .chabok-col-50 {
  width: calc(50% - 10px);
  float: right;
}
.chabok-profile-form .chabok-col-100 {
  width: 100%;
  float: right;
}
.chabok-profile-form .chabok-field input {
  padding: 12px;
}


.password-wrapper{
    position:relative;
}


.password-wrapper input{
    padding-left:50px;
}


.toggle-password{

    position:absolute;
    left:10px;
    top:50%;
    transform:translateY(-50%);

    border:0;
    background:none;
    cursor:pointer;

}



.password-strength{
    margin-top:12px;
}


.strength-bar{

    height:6px;
    background:#eee;
    border-radius:10px;
    overflow:hidden;

}


.strength-bar span{

    display:block;
    height:100%;
    width:0;
    transition:.3s;

}



.strength-text{
    font-size:13px;
    margin-top:8px;
}



.password-rules{

    background:#fafafa;
    padding:15px;
    border-radius:15px;
    margin:20px 0;

}


.rule{

    font-size:14px;
    margin-bottom:8px;

}


.rule.valid{

    color:green;

}



.password-match{

    margin-top:10px;
    font-size:14px;

}


.password-match.success{
    color:green;
}


.password-match.error{
    color:red;
}


.change-password-submit:disabled{

    opacity:.5;
    cursor:not-allowed;

}

.chabok-password-form .chabok-field label {
  position: relative;
  padding: 0;
  background: none;
  right: 0;
  left: 0;
  bottom: 0;
  top: -3px;
}
.chabok-password-form .chabok-field input {
    padding: 12px;
    font-family: inherit;
}
.password-strength,.password-rules {
  float: right;
  width: 100%;
}
/* موبایل */


@media(max-width:600px){

    .chabok-dashboard-banner {
        border-radius:16px;
    }


    .chabok-dashboard-welcome {

        padding:18px;

        flex-direction:column;

    }


    .chabok-dashboard-links {

        grid-template-columns:
        repeat(3,1fr);

        gap:12px;

    }


    .chabok-dashboard-link {

        padding:14px 5px;

    }

}

/* Responsive */

@media(max-width:960px){

    .dashboard-wrapper{

        flex-direction:column;

    }

    .dashboard-sidebar{

        width:100%;

    }

}