.otp_input{
    width: 65% !important;
    letter-spacing: 20px;
    text-align: center;
}
#otp_send,#otp_check{
    width: 28%;
    margin-right: 2%;
}
.shanix-spinner{
    background-image: url(../img/spinner-2x.gif);
    background-size: 20px 20px;
    display: inline-block;
    opacity: .7;
    width: 20px;
    height: 20px;
    margin-left:5px;
    vertical-align: middle;
}
.remaining-time{
    float: left;
}
.user-cover-cnt{
    height: 220px;
    overflow: hidden;
    border-radius: 1rem;
}
.user-cover-cnt img{
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.user-avatar-cnt{
    width: 100px;
    border: solid 5px #fff;
    height: 100px;
    border-radius: 100%;
    position: absolute;
    left: 20px;
    top: 0px;;
    overflow: hidden;
}
.hermes-avatar-row{
	display:flex;
	flex-direction:row-reverse; /* آواتار راست، دکمه‌ها چپ */
	align-items:center;
	justify-content:flex-start;
	gap:12px;
}

.hermes-avatar-image .user_avatar_img{
	width:96px;
	height:96px;
	border-radius:50%;
	object-fit:cover;
	border:2px solid #e5e7eb;
}

.hermes-avatar-actions{
	display:flex;
	flex-direction:column;
	gap:6px;
}

.hermes-avatar-actions .btn{
	font-size:0.85rem;
	padding:0.25rem 0.75rem;
}

.avatar-modal-open{
    /* opacity: 0; */
    position: absolute;
    z-index: 2;
    right: 0;
    width: 60px;
    background: unset;
    border: unset;
    right: 50%;
    transform: translate(50%, 50%);
    bottom: 50%;
    transition: all 0.3s ease-in;
}
.avatar-modal-open.cover-open{
    width: 60px;
}
.user-avatar-cnt:hover .avatar-modal-open{
    /* opacity: 1; */
}
.shanix-modal .modal-content .modal-footer{
    justify-content: space-between;
}
.btn.btn-gray{
    background-color: #555;
    color: #fff;
}
.checkout-avatar-cnt{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.checkout-avatar-cnt .avatar{
    width: 80px;
    height: 80px;
    border-radius: 100%;
    overflow: hidden;
    position: relative;
}
.checkout-avatar-cnt .avatar-check{
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    color: green;
}
.checkout-avatar-cnt .avatar-check svg{
    width: 50px;
}
.checkout-avatar-cnt .avatar img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.checkout-avatar-cnt p{
    font-size: 12px;
}
.shanix-upload-btn{
    text-align: center;
}
.shanix-upload-btn input[type="file"] {
    display: none;
}
.shanix-upload-btn span{
    font-size: 13px;
    display: block;
}
.checkout-avatar-cnt .btns{
    display: flex;
    flex-direction: column;
}
.btns .btn-light{
    border: 1px solid #ddd;
    color: red;
}
.swal2-styled.swal2-confirm{
    background-color: #5055BE !important;
}
#billing_otp_valid_field, #billing_terms_field{
    display: none;
}
.hermes-pagination{
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
}
.hermes-pagination .page-numbers{
    padding: 5px 10px;
    background-color: #5055BE;
    color: #fff;
    border-radius: 5px;
    margin: 0 10px;
}
.hermes-pagination .page-numbers.current{
    background-color: #eee;
    color: #111;
}
.hermes-pagination .page-numbers.dots{
    background-color: unset;
    color: #111;
}
.certificate-list-title{
    display: flex;
    justify-content: space-between;
}
.certificate-list-title .search input{
    background: #e6e8ff;
    border-radius: 5px;
    border: 0;
    padding: 5px 10px;
}
.certificate-list-title .search input::placeholder{
    font-size: 14px;
}
.colleague_edit_user{
    border: 1px solid #c1c1c1;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    background-color: #dbe7f7;
}
.user_input{
    border-radius: 5px;
    border: none;
    padding: 5px;
}
/* ===== Avatar Editable ===== */
.avatar-editable {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.avatar-editable img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* لایه سایه */
.avatar-editable .avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}


/* آیکن دوربین */
.avatar-editable .avatar-camera-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 1;
    pointer-events: none; /* کلیک به خود عکس برسد */
}

.avatar-editable:hover .avatar-overlay {
    background: rgba(0,0,0,0.35);
}
/* hover */
.avatar-editable:hover .avatar-overlay,
.avatar-editable:hover .avatar-camera-icon {
    opacity: 1;
}



