@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
body {
    max-width: 1000px;
    margin: auto;
    scroll-behavior: smooth;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #F0F6FB;
    word-wrap: break-word; /* Matnni ajratish uchun */
    white-space: normal; /* Matnni o'ram qilib davom ettirish uchun */
}
.title{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    color: var(--title-text-color);
    background: linear-gradient(var(--title-deg), var(--b-white), var(--b));
    padding: 14px;
    text-align: center;
    font-weight: 800;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 3px 6px #33333370;

}
.title .t-a{
    color: var(--title-text-color);
    font-weight: 800;
    display: block;
}

.title-contents{
    color: var(-title-text-color);
    background: linear-gradient(var(--title-items-deg), var(--b-white), var(--b));
    padding: 0;
    text-align: center;
    font-weight: 800;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 3px 6px #33333370;
} 
.title-contents .t-tab{
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
}
.title-items{
    text-align: center;
    padding: 14px;
    border-right: 1px solid #33333330;
}

.title-items a{
    color: var(--title-items-icon);
    display: block;
}
.t-height{
    height: 52px;
}
.aut{
    padding: 8px;
    color: var(--b);
    background-color: var(--tag);
    border-bottom: 1px solid var(--b);
    text-align: center;
}
.aut_count{
    background: var(--aut-count-b);
    color: var(--aut-count-c);
    font-size: 12px;
    border-radius: 4px;
    padding: 0 4px;
    margin-top: -8px;
    margin-left: 5px;
    position: absolute;
    font-weight: 800;
}
.foot{
    background: var(--foot-b);
    padding: 8px 5px;
    border-bottom: 1px solid #efefef;
}
.err{
    background: var(--error);
    color: var(--errcolor);
    padding: 10px;
    border-radius: 3px;
}
.sucs{
    background: var(--success);
    color: var(--succolor);
    padding: 10px;
    border-radius: 3px;
    transition: all 1s ease;
}
.sucs.hide {
    transform: translateY(-20px); /* Sal tepaga ko'tarish */
    opacity: 0; /* Silliq yo'qolish */
}

.mansab{
    background-color: var(--mansab);
    color: #333;
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid var(--b);
    font-weight: 600;
}
a{
    text-decoration: none;
    color: #37474F;
}

.avatar{
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    float: left;
    margin: 0 5px;
    background-color: white;
}
.not-avatar{
    font-weight: 800;
    background: linear-gradient(180deg, var(--avatar-b-first), var(--avatar-b-second));
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    float: left;
    margin: 0 5px;
}

.not-avatar-girl{
    font-weight: 800;
    background: linear-gradient(180deg, #FFAB91, #D84315);
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    float: left;
    margin: 0 5px;
}
.star_avatar{
    border: 2px solid var(--b-white);
    padding: 2px;
    width: 55px;
    height: 55px;
}
.user-icons{
    max-width: 16px;
    max-height: 16px;
    margin-right: 3px;
    margin-bottom: -2px;
    user-select: none;
}

.photo-cont{
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px;
}
.photo-img{
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 0.1rem solid #eee;
    padding: 2px;
}
.userfullphotocont {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    background: white;
    position: relative;
    min-height: 200px; /* Loader ko'rinishi uchun */
}

.userfullphoto {
    width: 250px;
    height: 200px;
    border: 0.1rem solid #eee;
    border-radius: 10px;
    padding: 2px;
    opacity: 0; /* Boshlanishida yashirin */
    transition: opacity 0.3s ease-in-out;
}

/* Loader animatsiyasi */
.photoLoader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--b);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spinPhoto 1s linear infinite;
    position: absolute;
}

@keyframes spinPhoto {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.online{
    width: 8px;
    height: 8px;
    background: #ffc048;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid orange;
    margin: 0 5px;
}
.offline{
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
}
.mess{
    background: white;
    padding: 8px 5px;
    border-bottom: 1px solid #efefef;
}

.new-mess{
    color: #52646C;
    background: white;
    padding: 10px 5px;
    border-bottom: 1px solid #efefef;
}
.new-mess a{
/*  color: #37474F;  */
  color: #52646C;
  display: block;
}
.new-mess:hover,
.mess:hover{
    background: #f6f6f6;
    transition: 0.3s ease-in-out;
}
.vaqt{
    font-size: 11px;
    color: gray;
    float: right;
}
.count{
    background: var(--index-count-b);
    color: var(--index-count-c);
    padding: 2px 6px;
    border-radius: 6px;
    float: right;
    font-size: 12px;
}

.count-plus{
    background: #ff5252;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    float: right;
    font-size: 12px;
    border: 3px solid #FCE4EC;
}
.new-blue{
    background: #E1F5FE;
    color: var(--b);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}
.go-cont{
    background: white;
    padding: 8px 5px;
    border-bottom: 1px solid #efefef;
}
.go_set {
    font-size:11px;
    background: var(--b);
    border-radius: 3px;
    border : #ddd solid 1px;
    padding : 5px 8px 5px 8px;
    color : #fff;
    margin: 0 2px;
}
.go a{
    font-size:11px;
    border-radius: 3px;
    background: #fff;
    border : 1px solid #ddd;
    padding : 5px 8px 5px 8px;
    color : #696969;
    margin-right: 3px;
}
.go a:hover {
    background: #F5F5F5;
}
.new_count {
    background: #FF5252;
    color: white;
    font-weight: 500;
    font-size: 12px;
    float: right;
    padding: 1px 6px;
    border-radius: 5px;
    border: 3px solid #FCE4EC;
}
.not-post{
    padding: 15px;
    border-radius: 20px;
    background: #fff;
    color: #333;
    margin: 10px;
    text-align: center;
    border: 1px solid #eee;
}
.big-mess{
    background: #fff;
    padding: 12px 6px 30px;
    border-bottom: 1px solid #efefef;
}
.online-time{
    color: gray;
    font-size: 12px;
}
.komm-javob {
    float: right;
    border: 1px solid #eee;
    background: white;
    color: var(--link);
    border-radius: 10px;
    padding: 2px 10px;
    transform: translateY(20px);
}
.komm-javob a{
    color: #37474F;
}
.send-icon{
    float: right;
    color: gray;
}
.send-icon i{
    color: gray;
}

    
.muqova{
    width: 100%;
    height: 165px;
    margin: 0;
    position: relative;
    z-index: -1;
}
.not-muqova{
    width: 100%;
    height: 165px;
    z-index: -1;
    background: linear-gradient(180deg, white, var(--muqova));
}
.index-lovers{
    width: 20px;
    height: 20px;
    margin-bottom: -5px;
    margin-right: 5px;
}
.index-tab{
    width: 100%;
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 0;
}
.index-td{
    text-align: center;
}
.avatar-index{
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 0.2rem solid #fff;
    margin-top: -70px;
}
.not-avatar-index{
    width: 120px;
    height: 120px;
    color: white;
    background: linear-gradient(180deg, var(--avatar-b-first), var(--avatar-b-second));
    border-radius: 10px;
    border: 0.2rem solid #fff;
    margin-top: -70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
}

.not-avatar-index-girl{
    width: 120px;
    height: 120px;
    color: white;
    background: linear-gradient(180deg, #FFAB91, #D84315);
    border-radius: 10px;
    border: 0.2rem solid #fff;
    margin-top: -70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
}


.soz{
    text-align: center;
    background-color: var(--b);
    padding: 10px 20px;
    border-radius: 6px;
    color: #fff;
    margin: 0 30px 0;
}
.username-index{
    text-align: center;
    background-color: white;
    padding: 10px;
}
.info-tab{
    text-align: center;
    width: 100%;
    background: white;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    padding: 8px 0;
}
.info-td{
    text-align: center;
    width: 33.33%;
}
.info-icon{
    color: gray;
}
.friend-type{
    padding: 2px 15px;
    border-radius: 10px;
    background: #E0F2F1;
    color: #26A69A;
    font-weight: 700;
    font-size: 14px;
    margin: 10px 4px;
    display: inline-block;
}

.green-text {
    padding: 2px 15px;
    border-radius: 10px;
    background: #E0F2F190;
    font-weight: 700;
    font-size: 14px;
    margin: 2px 4px;
    display: inline-block;
    border: 1px solid #26A69A;
}
.red-text {
    padding: 2px 15px;
    border-radius: 10px;
    background: #FFCDD250;
    color: #E53935;
    font-weight: 800;
    font-size: 14px;
    margin: 2px 4px;
    display: inline-block;
    border: 1px solid #e53935;
}
.green-text a:nth-child(0){
    color: #FFCDD2;
}
.red-text a:nth-child(1){
    color: #E53935;
}
.small-green-text {
    background: var(--small-green-text-b);
    color: var(--small-green-text-c);
    font-size: 11px;
    border-radius: 10px;
    padding: 2px 10px;
    margin-right: 3px;
    font-weight: 600;
}
.small-blue-text {
    background: var(--small-blue-text-b);
    color: var(--small-blue-text-c);
    font-size: 11px;
    border-radius: 10px;
    padding: 2px 10px;
    margin-left: 3px;
    font-weight: 600;
}
.small-red-text {
    background: var(--small-red-text-b);
    color: var(--small-red-text-c);
    font-size: 11px;
    border-radius: 10px;
    padding: 2px 10px;
    margin-left: 3px;
    font-weight: 600;
}

.status{
    background: var(--sts-b);
    color: #37474F;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--b);
    margin: 2px;
    white-space: pre-line;
}
.sts-tab{
    display: flex;
    justify-content: space-between;
}
.status-td {
    flex: 1;
    text-align: center;
}
.sts-td-items{
    margin-top: 3px;
    color: gray;
    font-size: 23px;
}
.sts-like-red{
    color: red;
}
.foto-display-grid{
    display: flex;
    justify-content: space-between;
    background: white;
}
.foto-grid{
    flex: 1;
    text-align: center;
    border: 1px solid #eee;
    padding: 5px;
}
.foto-grid-items{
    font-size: 30px;
    color: gray;
}
.fa-gr-icon {
    background: linear-gradient(45deg, var(--fa-gr-1), var(--fa-gr-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    margin-right: 3px;
}
.inf{
    margin: 4px 0;
    color: gray;
    font-size: 15px;
}
.inf-icon{
    margin-right: 4px;
    color: var(--b);
}
.index-foto-scroll{
    overflow-x: auto;
}
.index-foto-scroll::-webkit-scrollbar{
    width: 0;
}
.index-foto-td{
    width: 70px;
    height: 80px;
    border-radius: 5px;
    margin: 0 3px;
}
.bold-text{
    font-size: 18px;
    font-weight: 600;
    margin: 0 10px 10px;
}
.index-foto-scroll-pos {
    position: relative;
}
.shadow-right{
    pointer-events: none;
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    padding: 20px;
    height: 92%;
    box-shadow: inset -20px 0 15px #ffffff90;

}
.shadow-left{
    opacity: 0.9;
    pointer-events: none;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    padding: 0 20px;
    height: 92%;
    box-shadow: inset 20px 0 15px #ffffff90;
}
.by_coding{
    text-align: center;
    font-size: 14px;
    color: gray;
    font-weight: 600;
}
.adm-galochka{
    width: 16px;
    height: 16px;
    margin-right: 2px;
    margin-bottom: -3px;
}
/*chat*/
.chatUserIdBoy{
    padding: 0 6px;
    background: var(--chatUserIdBoy);
    color: white;
    border-radius: 10px;
    font-size: 12px;
}
.chatUserIdGirl{
    padding: 0 6px;
    background: var(--chatUserIdGirl);
    color: white;
    border-radius: 10px;
    font-size: 12px;
}
.smiles-size {
    max-width: 80px;
    max-height: 80px;
}
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Qor foydalanuvchi interaktivligiga ta’sir qilmasin */
    z-index: 1;
}
/* Internet ulanish */
#connection-status {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: #ff4d4d;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    z-index: 1;
}

#connection-status.connectingInternet {
    background-color: #4caf50;
}
