.form-inline-get .md-formd{
    display: flex;
    align-items: center;
}

.form-inline-get  label{
    flex: 0 0 30%;
    margin-bottom:  0 !important;
}
.form-inline-get  .form-control{
    flex:1;
}





.app_profile{
    display:flex;
    flex-direction:column;
    height:100vh;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #c2c2c2;
}
::-moz-placeholder { /* Firefox 19+ */
    color:  #c2c2c2;;
}
:-ms-input-placeholder { /* IE 10+ */
    color:  #c2c2c2;;
}
:-moz-placeholder { /* Firefox 18- */
    color:  #c2c2c2;;
}
.get_doctor .btn{
    background: #4aaab3 !important;
}
.get_marketer .btn{
    background:  #0abbb5 !important;
}
.btn{
    border-radius: 50px !important;
    font-size: 15px !important;
    border: none !important;
}

.header_profile{
    height:52px;
    /*background:linear-gradient(90deg, #e4e4f5 0%, #fafbff 100%);*/
    /*border-bottom:1px solid #c9c9ff;*/

    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    gap:12px;  display: none;
}
.brand_profile{display:flex;align-items:center;gap:10px}
.logo_profile{width:36px;height:36px;border-radius:6px;background:#06066e;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.brand_profile h1{font-size:14px}
.header_actions_profile{display:flex;align-items:center;gap:10px}
.search_profile{padding:6px 10px;border-radius:8px;border:1px solid #06066e;background:white}


.content_profile{flex:1;display:flex; ;}


.sidebar_profile{
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    background: #ffffff;
    padding: 10px;
    overflow: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}
.sidebar_profile.hide_sidebar{transform: translateX(100%);opacity:0;position:absolute;top:52px;right:0;height:calc(100% - 52px);z-index:1000;}

.usercard_profile .header_f1 span{  display: block;
    letter-spacing: 4px;
    color: #fff;
    font-size: 17px;
    font-weight: 500; }
.usercard_profile .header_f1{
    text-align: center;margin-top: 21px;
    font-size: 16px;
}
.usercard_profile .avatar_profile img{
    width: 86px;
    border: 2px solid #123659;
    border-radius: 50px;
    display: block;
    margin: -11px auto 0 auto;
    text-align: center;
}
.get_doctor .usercard_profile{ background: #0080fc !important; }
.get_marketer .usercard_profile{ background:  #09bab4 !important; }
.get_user .usercard_profile{   ; display: block;; ;padding:8px;border-radius:10px;background:  #0abbb5  ;}
.usercard_profile{   ; display: block;; ;padding:8px;border-radius:10px;background: #0080fc  ;}

.username_profile{  text-align: center;
    margin-top: 15px;
    font-size: 17px;
    font-weight: 500;}
.username_profile_d{
    font-size: 12px;
    color: #000;
    text-align: center;
}
.username_profile_link{
    text-align: center;
}
.username_profile_link a{
    background: #d0e6f4;
    border-radius: 50px;
    color: #14416d;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-top: 12px;
}
.menu_profile{   margin-top: 10px;
    background: #d0e6f4;
    border-radius: 10px;
    padding: 5px;}
.menu_profile a{display:block;padding:8px 6px;border-radius:8px;color:#223;text-decoration:none;margin-bottom:8px;border:1px solid transparent;cursor:pointer}
.menu_profile a:hover{  color: #0080fc;}
.menu_profile a.active {
    color: #0080fc;
}
.menu_profile a i{
    background: #fff;
    padding: 3px;
    font-size: 16px;
    border-radius: 50px;
    color: #0080fc;
    float: right;
    margin-left: 4px;
}

.submenu_profile{
    overflow:hidden;
    flex-direction:column;
    padding-right:10px;
    margin-top:4px;
    height:0;
}

.form_profile {

    display: flex;
    flex-direction: column;
}


.label_profile {
    font-size: 14px;
    margin-bottom: 4px;    color: #5e5e92;
}


.input_profile {
    padding: 8px 10px;  background: #fff;
    border-radius: 8px;
    border: 1px solid #d6d6d6;
    outline: none;  display: block;
    width: 100%;
}


.input_profile:focus {
    border-color: #06066e;
    box-shadow: 0 0 4px rgba(8, 54, 155, 0.56);
}


.button_profile {
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #06066e !important;
    color: white !important;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}
.input-group-addon{
    margin-top: 0;
    margin-right: 12px;
    background: #f1f1f1;
    padding: 4px;
}

.button_profile:hover {
    background: #06066e;
}


.switch_form_profile {
    font-size: 13px;
    text-align: center;
    margin-top: 8px;
}


.switch_form_profile a {
    color: #06066e;
    text-decoration: none;
    font-weight: 600;
}


@media(max-width: 400px){
    .form_profile {
        width: 90%;
    }
}
.main_profile{
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 10px;
    overflow-x: hidden;
}
.get_doctor .main_profile_title{
    background: #cfe5f3;
}
.get_marketer .main_profile_title{
    background:#b0dfe5;
}
.get_user .main_profile_title{
    background: #3fe0cf;
}
.main_profile_title{
    display: block;
    padding: 13px;
    border-radius: 15px;
    font-weight: 500 !important;
}
.ewd{
    margin-bottom: 5px;
    display: block;
    font-size: 13px;
}

.tryi {
    margin: 9px;
    width: 87% !important;
    height: 80% !important;
    border: 3px dashed #cfcccc;
    border-radius: 9px;
    display: block;
    text-align: center;
    line-height: 17px;
    color: #777;
    font-size: 13px !important;
    padding-top: 18px;
}
.avatar-upload {
    margin: 10px;
    position: relative;
;;display: inline-block;
}
.avatar-upload .avatar-edit {
    position: absolute;
    right: 0;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100%;
}
.avatar-upload .avatar-edit input {
    display: none;
}

.avatar-upload .avatar-edit input + label {
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    border-radius: 11px;
    background: transparent;
    border: none;
    font-size: 0 !important;cursor: pointer;
}


.avatar-upload .avatar-edit input + label:after {
    content: "\f040";
    font-family: 'FontAwesome';
    color: #757575;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}
.avatar-upload .avatar-preview {

    width: 160px;
    height: 100px;
    position: relative;
    border-radius: 10px;
    border: 2px solid #e4e4e4;overflow: hidden;
    background: #fff;

}
.avatar-upload .avatar-preview > div {

    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;font-size: 0;

}
.item_radio{
    display: flex;align-items: center;
}
.item_radio label{
    background: #f5f5f5;
    margin: 0 5px;
    display: inline-block;
    align-items: center;
    padding: 2px 8px;
    border-radius: 7px;
}


.table-container {
    /*max-width: 1400px;*/
    /*margin: 0 auto;*/
    /*background: transparent;*/
    /*padding: 20px;*/
    /*position: relative;*/
}

.table-wrapper {
    overflow-x: auto;
    position: relative;
    /*padding: 10px;*/
}

.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 14px;
    table-layout: auto;
}

/* اطمینان از اینکه border-spacing کار می‌کند */
.custom-table tbody::before {
    content: '';
    display: table-row;
    height: 0;
}

/* هدر جدول */
.custom-table thead {
    border-radius: 15px;
    overflow: hidden;
}

.custom-table thead tr {
    display: table-row;
}
.get_doctor .custom-table thead th {
    background-color: #6296ec;
}
.get_user .custom-table thead th {
    background-color: #0ab8b7;
}
.get_marketer .custom-table thead th {
    background-color: #3ddfcf;
}
.custom-table thead th {
    color: #FFFFFF;
    font-weight: 600;
    padding: 12px 12px;
    text-align: center;
    white-space: nowrap;
    border: none;
    font-size: 13px;
}

/* لبه‌های گرد برای هدر - اولین ستون (سمت راست در RTL) */
.custom-table thead tr th:first-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* لبه‌های گرد برای هدر - آخرین ستون (سمت چپ در RTL) */
.custom-table thead tr th:last-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

/* بدنه جدول */
.custom-table tbody tr {
    transition: all 0.2s ease;
}

/* ردیف‌های فرد - پس‌زمینه روشن */
.custom-table tbody tr:nth-child(odd) td {
    background-color:  #f0fffc;
}

/* ردیف‌های زوج - پس‌زمینه کمی تیره‌تر */
.custom-table tbody tr:nth-child(even) td {
    background-color: #f8f8f8;
}

.custom-table tbody td {
    padding: 14px 12px;
    text-align: center;
    color: #333333;
    border: none;
    font-size: 13px;
}

/* لبه‌های گرد برای سلول‌های ردیف - اولین ستون (سمت راست در RTL) */
.custom-table tbody tr td:first-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
}

/* لبه‌های گرد برای سلول‌های ردیف - آخرین ستون (سمت چپ در RTL) */
.custom-table tbody tr td:last-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    overflow: hidden;
}

/* اطمینان از اینکه border-radius کار می‌کند */
.custom-table thead th,
.custom-table tbody td {
    position: relative;
}

/* خط عمودی آبی در سمت راست */
.table-wrapper::after {
    /*content: '';*/
    /*position: absolute;*/
    /*right: 0;*/
    /*top: 10px;*/
    /*bottom: 10px;*/
    /*width: 3px;*/
    /*background-color: #ADD8E6;*/
    /*z-index: 10;*/
    /*border-radius: 2px;*/
}

 

/* افکت hover روی ردیف‌ها */
.custom-table tbody tr:hover td {
    color: #08369b !important;
    /*background-color: #D4E8EA !important;*/
    /*cursor: pointer;*/
    /*transform: translateX(-3px);*/
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
}

/* استایل برای موبایل */
@media (max-width: 768px) {
    .table-container {
        padding: 10px;
    }

    .table-wrapper {
        padding: 5px;
    }

    .custom-table {
        font-size: 12px;
        border-spacing: 0 8px;
    }

    .custom-table thead th,
    .custom-table tbody td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .custom-table thead th:first-child,
    .custom-table thead th:last-child,
    .custom-table tbody tr td:first-child,
    .custom-table tbody tr td:last-child {
        border-radius: 8px;
    }
}