@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    max-width: 800px;
    margin: auto;
    background-color: beige;
    border: 1px solid #dcdcdc;
    /*box-shadow: 0px 4px 5px rgb(0, 0, 0, 0.3);*/
    border-radius: 0 0 10px 10px;
}
/*Links*/
a {
    text-decoration: none;
    color: #1E293B;
}
.link {
    color: #1E293B;
    padding: 10px 5px;
    background: white;
    border-bottom: 1px solid #eeeeee;
}
.link a {
    color: #1E293B;
    display: block;

}
.link-margin {
    padding: 15px 10px 25px 8px;
    border: 1px solid #eeeeee;
    margin: 10px;
    border-radius: 10px;
    background: white;
}

footer a {
    color: #1E293B;
}
footer{
    padding: 10px;
    background: #87c9ff;
    border-radius: 0 0 10px 10px;
}
/*Box icon*/

.box-ikon{
    font-size: 20px;
    margin-right: 3px;
    color: gray;
}

.mail-envelope {
    float: right;
    color: #1c96fa;
    transform: translateY(13px);
}
.mail-envelope .box-ikon {
    color: #007BFF;
    font-size: 25px;
}

/*Title classes*/

.aut {
    background: #a8d8ff;
    color: #1c96fa;
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #1c96fa;
}

/*Login reg forms*/

.input-container {
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
}


.form-group {
    justify-content: center;
    text-align: center;
    justify-items: center;
    margin-bottom: 15px;
}

.input {
    width: 100%;
    font-size: 14px;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: 0.2s ease-in-out;
}

.input:hover {
    border: 2px solid #0066ff60;
    box-shadow: 0 0 0 2px #0066ff40;
}

.select {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #eeeeee;
    color: gray;
    outline: none;
}

.button.kirish {
    width: 100%;
    padding: 10px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.button.reg {
    width: 100%;
    padding: 10px;
    background-color: #eeeeee;
    text-align: center;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.button.reg a{
    color: #4d5e7a;
}
.button.kirish:hover {
    background-color: #1878e8;
}

#result {
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
}
/*Foto classlari*/
.avatar-container {
    position: relative;
    display: inline-block;
}
.avatar{
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 2px solid #eeeeee;
    float: left;
    margin: 0 5px;
    background-color: white;
}
.not-avatar{
    font-weight: 800;
    background: linear-gradient(180deg, #BBDEFB, #1c96fa);
    color: white;
    font-size: 20px;
    width: 60px;
    height: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 2px solid #eeeeee;
    margin: 0 5px;
    float: left;
}

.not-avatar-girl{
    font-weight: 800;
    background: linear-gradient(180deg, #FFAB91, #D84315);
    color: white;
    font-size: 20px;
    width: 60px;
    height: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 2px solid #eeeeee;
    float: left;
    margin: 0 5px;
}

.avatar-chat{
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    float: left;
    margin: 0 5px;
    background-color: white;
    position: relative;
}
.not-avatar-chat{
    font-weight: 800;
    background: linear-gradient(180deg, #BBDEFB, #1c96fa);
    color: white;
    font-size: 20px;
    width: 55px;
    height: 55px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 5px;
    float: left;
    position: relative;
}
.avatar-chat-new{
    width: 55px;
    height: 55px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 5px;
    float: left;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.not-avatar-girl-chat{
    font-weight: 800;
    background: linear-gradient(180deg, #FFAB91, #D84315);
    color: white;
    font-size: 20px;
    width: 55px;
    height: 55px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    float: left;
    margin: 0 5px;
    position: relative;
}

.muqova {
    width: 100%;
    height: 150px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.not-muqova {
    width: 100%;
    height: 150px;
    position: relative;
    background: linear-gradient(180deg, #e4f2fd, #87c9ff);
}
.avatar-nick-online-vaqt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    min-width: 150px;
}

/*Info php lasslari*/

.info-table-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    background: white;
    border-bottom: 1px solid #eeeeee;
}
.info-table-container .box-info {
    font-size: 30px;
    color: gray;
}
.info-table-container .info-item{
    flex: 1;
    text-align: center;
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
}
.info-table-container .info-item a {
    display: block;
}
.info-table-container .info-item:hover {
    background: #f6f6f6;
}

/* FOTO */

.ajax-update-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 1px;
}
#images-container {
    z-index: 2;
    position: absolute;
    bottom: -85px;
    right: 0;
    left: 0;
    background: white;
    padding: 5px;
}
#images-container #image-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}
#images-container .ajax-image-name {
    margin: 5px;
    display: none;
    font-weight: 500;
    font-size: 16px;
}
.up-image {
    position: absolute;
    bottom: 5px;
    right: 10px;
}
.foto-index {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 0.1rem solid #eee;
    margin: 5px;
    transition: 0.3s ease-out;
}
.foto-index:hover {
    transform: scale(1.05);
}
.foto-index-cont {
    background: white;
    padding: 20px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

.foto-fetch-foto {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 0.1rem solid #eeeeee;
    padding: 3px;
}

/* Tepa panel */
header {
    background: #0066ff;
    color: white;
    padding: 12px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    position: fixed;
    z-index: 1000;
    right: 0;
    top: 0;
    left: 0;
}
header a {
    color: white;
    display: block;
}
.header-height {
    height: 50px;
}
.head-panel {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    background: #0066ff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}
/* Tugmalar */
.head-items {
    position: relative;
    transition: color 0.3s;
}
.head-items a{
    display: block;
    color: white;
}
.box-head {
    font-size: 25px;
    color: white;
}
.head-items:hover {
    opacity: 0.8;
}

/* Bildirishnoma belgisi */
.notification {
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: white;
    color: #0066ff;
    font-size: 11px;
    font-weight: bold;
    padding: 0px 6px;
    border-radius: 50%;
    border: 1px solid #87c9ff;
}

.lavozim {
    background: #a8d8ff;
    color: #1c96fa;
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #1c96fa;
}
.count {
    padding: 0 6px;
    border-radius: 8px;
    background: #eeeeee;
    color: gray;
    font-size: 12px;
    float: right;
}
.count.new {
    color: white;
    background: red;
}
/*Header success and error elements*/
.error {
    background: repeating-linear-gradient(
            135deg,
            #ffffff26 0%,
            #ffffff26 25%,
            transparent 25%,
            transparent 50%,
            #ffffff26 50%,
            #ffffff26 75%,
            transparent 75%,
            transparent 100%
    );
    background-size: 30px 30px;
    background-color: rgb(255, 183, 0);
    color: #fff;
    padding: 8px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    position: fixed;
    top: 50px;
    right: 0;
    left: 0;
    animation: error 3s linear infinite;
    z-index: 2;
}

@keyframes error {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 0;
    }
}
.success {
    background: repeating-linear-gradient(
            135deg,
            #ffffff26 0%,
            #ffffff26 25%,
            transparent 25%,
            transparent 50%,
            #ffffff26 50%,
            #ffffff26 75%,
            transparent 75%,
            transparent 100%
    );
    background-size: 30px 30px;
    background-color: #63e696;
    color: #fff;
    padding: 8px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    position: fixed;
    top: 50px;
    right: 0;
    left: 0;
    animation: success 3s linear infinite;
    z-index: 2;
}

@keyframes success {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 0;
    }
}

/*Post yoq bolsa yani content mavjud bolmasa*/
.not-content {
    color: gray;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #eeeeee;
    text-align: center;
    margin: 15px;
}
/*Mail*/
.time {
    color: gray;
    font-size: 11px;
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}

.online-vaqt {
    color: gray;
    font-size: 12px;
}
/*Online and ofline*/
.online{
    width: 13px;
    height: 13px;
    background: #ffc048;
    display: inline-block;
    border-radius: 50%;
    border: 2px solid white;
    position: absolute;
    right: 0px;
    top: 2px;
}
.offline{
    width: 13px;
    height: 13px;
    background: #e0e0e0;
    display: inline-block;
    border-radius: 50%;
    border: 2px solid white;
    position: absolute;
    right: 0;
    top: 2px;
}

.oddiyOnline{
    width: 8px;
    height: 8px;
    background: #ffc048;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid orange;
    margin: 0 5px;
}
.oddiyOffline{
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 4px;
}

.pagination .page {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    text-decoration: none;
    color: slategray;
    border: 1px solid #eeeeee;
    transition: all 0.3s ease;
}

.pagination .page:hover{
    background: #007BFF;
    color: white;
    border-radius: 5px;
}

.pagination .active {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: #007BFF;
    color: white;
    pointer-events: none;
}

.pagination .prev, .pagination .next {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 5px;
    text-decoration: none;
    color: slategray;
    border: 1px solid #eeeeee;
    transition: all 0.3s ease;
}

.pagination .prev:hover, .pagination .next:hover {
    background: #007BFF;
    color: white;
}
.smile-size {
    max-width: 100px;
    max-height: 100px;
}

/*Right message ikon*/
.envelope-ikon {
    float: right;
    color: #1c96fa;
    transform: translateY(10px);
    font-size: 20px;
    background: #eeeeee;
    border: 1px solid #cecece;
    border-radius: 6px;
    padding: 5px 8px;
}

/*   STATUS CLASSLARI    */
.status-input-cont {
    background: white;
    padding: 8px 4px;
    border-bottom: 1px solid #eeeeee;
}
.status-input-cont form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
.status-input-cont .sts-input {
    border: none;
    outline: none;
    padding: 8px;
    border-radius: 20px;
    background: #eeeeee;
    width: 100%;
    margin-right: 10px;
}
.status-input-cont .sts-button {
    background: #0066ff;
    color: white;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 5px 7px;
    font-size: 18px;
}
.sts-message {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    padding: 10px;
    border-radius: 5px;
    margin: 8px 2px 2px 2px;
    background: #BBDEFB;
    color: #0066ff;
    position: relative;
}
.sts-burchak {
    border-top: 4px solid transparent;
    border-bottom: 4px solid #BBDEFB;
    border-right: 4px solid transparent;
    border-left: 4px solid #BBDEFB;
    position: absolute;
    top: -8px;
    left: 6px;
}

.sts-item-display {
    padding: 3px 10px;
    display: flex;
    gap: 5px;
    margin-bottom: 4px;
}

.sts-like-count-index {
    color: gray;
    font-size: 11px;
    padding: 0 4px;
    border-radius: 10px;
    margin-left: -5px;
}

.sts-items-index {
    border: 1px solid #d9d8d8;
    background: #eeeeee;
    padding: 2px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*  ELONLAR BOLIMI  */
.elon-post {
    margin-top: 20px;
    position: relative;
    font-size: 12px;
    background: #f1f1f1;
    margin-left: 60px;
    margin-right: 50px;
    border-radius: 6px;
    padding: 4px 10px;
    border: 1px solid #eeeeee;
    box-shadow: 0 2px 2px rgb(0, 0, 0, 0.1);
}
.elon-post .elon-burchak {
    border-top: 4px solid transparent;
    border-bottom: 4px solid #eeeeee;
    border-right: 4px solid transparent;
    border-left: 4px solid #eeeeee;
    position: absolute;
    top: -8px;
    left: 3px;
}
.elon-post .elon-button {
    background: #47aafd;
    color: white;
    padding: 4px 15px;
    margin-top: 5px;
    border-radius: 4px;
    border: none;
    outline: none;
    font-size: 12px;
}
/*========== CHAT ============*/
.chat-gif {
    max-width:120px;
    max-height:120px;
    border-radius:8px;
}