        body { font-family: 'Segoe UI', -apple-system, sans-serif; margin: 0; background: #fafafa; color: #262626; }
        .header { background: white; padding: 10px 20px; border-bottom: 1px solid #dbdbdb; position: sticky; top: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
        .logo { font-size: 22px; font-weight: 800; color: #0095f6; cursor: pointer; text-decoration: none; }
        
        .user-nav { display: flex; align-items: center; gap: 12px; }
		.user-avatar:hover {transform: scale(1.1);}
        .balance-box { background: #f0fdf4; padding: 5px 12px; border-radius: 20px; color: #16a34a; font-weight: bold; border: 1px solid #bbf7d0; font-size: 14px; cursor: pointer; }
        .user-avatar { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; border: 1px solid #dbdbdb; cursor: pointer; transition: transform 0.3s ease-out; }
        .logout-link { font-size: 12px; color: #ed4956; font-weight: bold; cursor: pointer; text-decoration: none; }
        .login-link { color: #0095f6; font-weight: 600; cursor: pointer; text-decoration: none; font-size: 14px; }

        .container { max-width: 500px; margin: 0 auto; padding: 15px; }
        
        #authOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: none; flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    backdrop-filter: blur(10px); /* Заманауи бұлдырату */
}
[v-cloak] { display: none; }
        .auth-card { width: 340px; text-align: center; padding: 25px; border: 1px solid #dbdbdb; border-radius: 12px; background: white; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
        
        input { width: 100%; padding: 12px; margin: 8px 0; border: 1px solid #dbdbdb; border-radius: 8px; box-sizing: border-box; background: #fafafa; font-size: 14px; }
        .input-label { text-align: left; font-size: 11px; color: #8e8e8e; margin-top: 5px; display: block; width: 100%; font-weight: bold; text-transform: uppercase; }

        button { background: #0095f6; color: white; border: none; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: 600; width: 100%; transition: 0.3s; margin-top: 10px; }
        button:hover { background: #0081d6; }
        .btn-tg { background: #0088cc; margin-top: 10px; }
        .btn-tg:hover { background: #0077b5; }

        .video-card { background: white; border: 1px solid #dbdbdb; border-radius: 12px; margin-bottom: 25px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
        video { width: 100%; display: block; background: #000; max-height: 500px; }
        .video-info { padding: 12px; }
        .video-title { margin: 0; font-weight: 600; font-size: 15px; }
        
        .gift-bar { padding: 10px; display: flex; gap: 8px; border-top: 1px solid #f2f2f2; background: #fff; }
        /* Бастапқы қалып */
.btn-gift { 
    background: #f8fafc; 
    color: #334155; 
    border: 1px solid #e2e8f0; 
    transition: all 0.2s ease;
}

/* АКТИВТІ КҮЙ (ТҰРАҚТЫ) */
.btn-gift.active-gift {
    border-color: #ff4d4d !important; /* Қызыл жиек */
    background-color: #fff0f0 !important; /* Сәл қызғылт фон */
    color: #ff4d4d !important;
}
/* БАСҚАН СӘТТЕГІ ЭФФЕКТ */
.btn-gift:active {
    transform: scale(0.92);
}
        .close-btn { position: absolute; top: 20px; right: 20px; font-size: 28px; cursor: pointer; color: #8e8e8e; }
        
        #profileSection {animation: fadeIn 0.3s ease-in-out;}
        .profile-card { background: white; padding: 20px; border-radius: 12px; border: 1px solid #dbdbdb; text-align: center; }
        .profile-avatar-big { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #0095f6; margin-bottom: 10px; }
        /* Әріптік аватар стилі */
		#mainFeed {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.photo-mini-gallery {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 10px;
    background: #f9f9f9;
}

.mini-photo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: transform 0.2s;
}

.mini-photo:hover {
    transform: scale(1.1);
}

.top-badge {
    background: gold;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 5px;
    font-weight: bold;
}
.video-desc {
    font-size: 14px;
    color: #444;
    margin: 8px 0;
    line-height: 1.4;
    padding: 0 10px;
    white-space: pre-wrap; /* Жаңа жолдарды сақтайды */
}

/* Фото галереясының стилі (егер қоспасаң) */
.photo-mini-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin;
}

/* Жалпы секция контейнері */
.upload-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    margin: 20px auto;
}

.upload-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
}

/* Лейблдер (жазулар) */
.input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin: 12px 0 6px 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Инпуттар, селекттер және текст аймағы */
.input-select, 
.upload-section input[type="text"], 
.upload-section textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    background: #fcfcfc;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

/* Фокус эффекті: Майталман шұғыла */
.input-select:focus, 
.upload-section input[type="text"]:focus, 
.upload-section textarea:focus {
    border-color: #0095f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 149, 246, 0.1);
}

/* Файл таңдау батырмаларының стилі */
.upload-section input[type="file"] {
    font-size: 12px;
    color: #888;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 8px;
    border: 1px dashed #ddd;
    width: 100%;
    cursor: pointer;
}

/* Жариялау батырмасы */
.btn-primary {
    background: linear-gradient(135deg, #0095f6, #007bb5);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 149, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}
.progress-bg {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0095f6, #00d4ff);
    transition: width 0.2s ease;
}

.progress-label {
    font-size: 12px;
    color: #555;
    font-weight: bold;
}
.filter-bar { display: flex; overflow-x: auto; gap: 10px; padding: 10px; scrollbar-width: none; }
        .filter-bar::-webkit-scrollbar { display: none; }
        /* Модальды терезе (Контейнер) */
.category-tag {
    position: absolute; /* Видеоның үстінде орналасуы үшін */
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6); /* Көлеңкелі қара түс (айқын көрінуі үшін) */
    backdrop-filter: blur(8px); /* Майталман эффект: артқы фонды бұлдырату */
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px; /* Жұп-жұмыр стиль */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase; /* Бас әріптермен жазу */
    letter-spacing: 0.8px;
    z-index: 5;
    pointer-events: none; /* Видеоны басуға кедергі жасамауы үшін */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Нәзік жиек */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Категория түріне қарай түсін өзгерту (Қаласаң) */
.category-tag:contains("Көлік") {
    background: rgba(0, 149, 246, 0.7); /* Көкшіл түс */
}

.category-tag:contains("Шипажай") {
    background: rgba(40, 167, 69, 0.7); /* Жасыл түс */
}
.active-deal { background-color: #0095f6 !important; color: white !important; border-color: #0095f6 !important; }
.gift-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    background: white;
    transition: background 0.2s;
}

.gift-item-row:hover {
    background: #f8fafc;
}

.sender-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.sender-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.sender-details {
    display: flex;
    flex-direction: column;
}

.sender-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}

.gift-date {
    font-size: 11px;
    color: #94a3b8;
}

.gift-badge-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.gift-amount {
    font-weight: 700;
    color: #10b981; /* Жасыл түс - табыс */
    font-size: 14px;
}
/* Заманауи қаржылық блок стилі */
.finance-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.calendar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.status-msg {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

.balance-amount {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin: 10px 0;
}

.btn-primary-action {
    width: 100%;
    padding: 14px;
    background-color: #10b981;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
}
.btn-primary-action:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    animation: none;
}
.btn-active-glow {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
.share-earn-card {
    background: #fdf2f2; /* Сәл жылы түс */
    border: 1px dashed #f87171;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}
.btn-share-main {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 2px solid #ef4444;
    color: #ef4444;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.btn-share-main:hover {
    background: #ef4444;
    color: white;
}
.reminder-card {
    position: relative;
    padding: 12px 35px 12px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.reminder-card.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.reminder-card.warning {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.close-reminder {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    opacity: 0.6;
}
.close-reminder:hover { opacity: 1; }
/* Статистика торы */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 20px 0;
    padding: 0 10px;
}

/* Әрбір элементтің картасы */
.stat-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}

.stat-item:hover {
    transform: translateY(-2px);
}

/* Белгішелер (Icons) */
.stat-icon {
    width: 36px;
    height: 36px;
    background: #f0f7ff;
    color: #007bff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
}

/* Ерекше түстер */
.stat-icon.income { background: #e9f7ef; color: #28a745; }
.stat-icon.topup { background: #fff4e5; color: #fd7e14; }

/* Мәтіндер */
.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right:10px;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: 2px;
}
/* Иконкалардың кез келген жағдайда көрінуі үшін */
.fa-solid, .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
} 
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    width: 100%;
    display: flex;
    justify-content: center;
}
.lightbox-img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white; font-size: 45px;
    cursor: pointer; z-index: 10001;
}
.lightbox-nav {
    position: absolute;
    color: white; font-size: 60px;
    cursor: pointer; user-select: none;
    padding: 20px; z-index: 10001;
}
.nav-left { left: 10px; }
.nav-right { right: 10px; }
.lightbox-counter {
    position: absolute;
    bottom: 30px; color: white;
    font-size: 16px; background: rgba(0,0,0,0.5);
    padding: 5px 15px; border-radius: 20px;
}
 
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    .video-card {
        border-radius: 0; /* Инстаграм стилінде */
        border-left: none;
        border-right: none;
    }
}
.profile-main-info {
    text-align: center;
    padding: 25px 0;
}

/* 1. Контейнерден overflow-ды алып тастаймыз */
.avatar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    cursor: pointer;
    border-radius: 50%;
    /* overflow: hidden; <-- Мұны алып тастаңыз немесе түсініктемеге алыңыз */
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Суреттің өзін шеңбер ішінде шектейміз */
.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Суреттің өзі шеңбер болуы шарт */
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 3. Камера белгішесін ең жоғары қабатқа шығарамыз */
.edit-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #0095f6;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    
    /* Басты түзету осы жерде */
    z-index: 10; 
}
/* Сыйлықтар тізімі */
.gifts-container {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

.gift-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sender-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sender-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.sender-details {
    display: flex;
    flex-direction: column;
}

.sender-name {
    font-size: 13px;
    font-weight: 600;
}

.gift-date {
    font-size: 11px;
    color: #999;
}

.gift-badge-box {
    text-align: right;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gift-amount {
    font-weight: bold;
    color: #28a745;
    font-size: 13px;
}

/* Қаржы картасына жұмсақ эффект */
.finance-card-modern {
    background: linear-gradient(135deg, #0095f6 0%, #0056b3 100%);
    box-shadow: 0 10px 25px rgba(0, 149, 246, 0.4);
}
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
}
 /* Әрбір жеке блок */
.stat-item {
    background: #f8f9fa; /* Ашық фон (Dark mode-та мұны #262626 қыламыз) */
    padding: 15px 10px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-item:hover {
    background: #f0f2f5;
    transform: translateY(-2px); /* Аздап жоғары көтерілу эффекті */
}

/* Иконкалар стилі */
.stat-icon {
    font-size: 18px;
    color: #0095f6; /* Allo Qutty көк түсі */
    margin-bottom: 8px;
    opacity: 0.8;
}

/* Жазулар стилі */
.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8e8e8e;
    margin-bottom: 4px;
    font-weight: 600;
}

.stat-value {
    font-size: 15px;
    font-weight: 700;
    color: #262626;
}

/* Ерекшеленетін сандар (жасыл) */
.stat-value.highlight {
    color: #28a745;
}

/* Планшет немесе үлкен экрандар үшін */
@media (min-width: 480px) {
    .user-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.share-promo-card {
    background: #ffffff;
    border: 1.5px dashed #0095f6; /* Бөлісу керектігін білдіретін пунктир жиек */
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.promo-content h3 {
    font-size: 16px;
    color: #262626;
    margin-bottom: 8px;
}

.promo-content p {
    font-size: 13px;
    color: #8e8e8e;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Реферал сілтеме жатқан инпут */
.referral-box {
    display: flex;
    gap: 5px;
    background: #f0f2f5;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.ref-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px;
    font-size: 12px;
    color: #0073b1;
    outline: none;
}

.btn-copy {
    background: #262626;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

/* WhatsApp батырмасы */
.btn-whatsapp-share {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-whatsapp-share:hover {
    background: #128C7E;
    transform: scale(1.02);
}
  
/* Drawer негізгі контейнері 
.upload-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 95vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}*/
.upload-drawer {
    position: fixed;
    bottom: -100%; /* Басында экранның астында тығылып тұрады ✅ */
    left: 0;
    width: 100%;
    height: 90%;
    background: white;
    transition: bottom 0.3s ease-out;
    z-index: 1000;
    border-radius: 20px 20px 0 0;
}

.upload-drawer.is-active {
    bottom: 0; /* Тек 'is-active' класы қосылғанда ғана көрінеді ✅ */
}
.upload-drawer.is-active {
    bottom: 0;
}

/* Header бөлімі */
.drawer-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.drawer-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close-alt {
    position: absolute;
    left: 15px;
    top: 0px;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    background-color:#0084ff;
    cursor: pointer;
    width:60px;height:30px;z-index:2;padding:0px;
}
 

/* Media Upload (Сен айтқан жасыл стильге ұқсас) */
.media-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background-color: #f7f8fa;
    border: 2px dashed #e1e4e8;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.media-upload-placeholder:hover {
    background-color: #f0f4f8;
    border-color: #0084ff;
}

.placeholder-content {
    text-align: center;
    color: #888;
}

.placeholder-content i {
    font-size: 40px;
    color: #0084ff;
    margin-bottom: 10px;
}

.preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.change-media-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Форма элементтері */
.form-section-modern {
    margin-bottom: 20px;
}

.form-section-modern label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.form-control-modern {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
    transition: 0.3s;
}

.form-control-modern:focus {
    border-color: #0084ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.1);
}

select.form-control-modern {
    height: 50px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.btn-send-modern {
    width: 100%;
    height: 55px;
    background: #0084ff;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
 

.btn-send-modern:active {
    transform: scale(0.98);
}
.emoji-icon {
    font-size: 28px; /* Эмодзидің өлшемі */
    display: block;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); /* Аздап көлеңке */
}

.category-icon-sphere {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.deal-btn {
    padding: 10px;
    text-align: center;
    background: #f1f1f1;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    border: 2px solid transparent;
}
.deal-btn.active {
    background: #0084ff20;
    border-color: #0084ff;
    color: #0084ff;
    font-weight: bold;
}
.photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.photo-preview-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
}
.photo-preview-item img {
    width: 100%; height: 100%; object-fit: cover;
}
.btn-remove-photo {
    position: absolute; top: 2px; right: 2px;
    background: rgba(255,0,0,0.7); color: white;
    border: none; border-radius: 50%; width: 20px; height: 20px;
    cursor: pointer; font-size: 14px;
}
.photo-upload-add {
    aspect-ratio: 1/1; border: 2px dashed #ccc; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #888;
}
.media-actions {
    position: absolute; bottom: 10px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 10px;
}
.btn-media-action {
    padding: 6px 12px; border-radius: 20px; font-size: 12px;
    cursor: pointer; border: none; backdrop-filter: blur(5px);
}
.btn-media-action.delete { background: rgba(255, 68, 68, 0.9); color: white; }
.btn-media-action.change { background: rgba(255, 255, 255, 0.9); color: #333; }
.hashtag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.hashtag-pill {
    cursor: pointer;
}

.pill-body {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 2px solid #eee;
    border-radius: 20px;
    background: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}
.pill-body.active {
    background: rgba(0, 0, 0, 0.02);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.pill-hashtag {
    letter-spacing: -0.5px;
}
/* ==========================================================
   🎬 Allo Qutty - Modern Reels Feed (Polished Version)
   ========================================================== */

/* 🎞️ Негізгі Контейнер (TikTok стилі) */
.video-feed-container {
    width: 100%;
    max-width: 500px; /* Компьютерде де әдемі көрінуі үшін */
    margin: 0 auto;
    height: calc(100vh - 70px); /* Хедерден қалған биіктік */
    overflow-y: scroll;
    scroll-snap-type: y mandatory; /* Видеоларды магниттей ұстайды */
    background: #000;
    scrollbar-width: none; /* Scrollbar-ды жасыру */
}
.video-feed-container::-webkit-scrollbar { display: none; }

/* 📱 Видео Картасы */
.video-card {
    width: 100%;
    height: 100%;
    scroll-snap-align: start; /* Магниттің нүктесі */
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 🎥 Видеоның өзі */
.feed-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Экранды толық жабады */
}

/* ==========================================================
    Foggy Overlays (Ақпарат оқылуы үшін) ✅
   ========================================================== */

/* 1. Жоғарғы хэштег аймағы */
.top-fog-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* 2. Төменгі ақпарат аймағы */
.bottom-fog-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================
   ⚡ Ақпараттар мен Әрекеттер (Overlay Elements)
   ========================================================== */

/* 🏷️ Түрлі-түсті Хэштег-Pill (Жаңаланған ✅) */
.ad-hashtag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(5px); /* Артқы жағы бұлдырайды */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    pointer-events: auto;
    text-transform: uppercase;
}

/* Мәміле түріне қарай түстер (Бэкендтен келген мәнге сай) */
.hashtag-sale { background: rgba(46, 204, 113, 0.8); color: white; } /* Жасыл */
.hashtag-rent { background: rgba(52, 152, 219, 0.8); color: white; } /* Көк */
.hashtag-service { background: rgba(155, 89, 182, 0.8); color: white; } /* Күлгін */
.hashtag-job { background: rgba(52, 73, 94, 0.9); color: white; } /* Dark */

/* 📝 Төменгі ақпарат бөлімі (Жаңаланған ✅) */
.ad-info-bottom {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 70px; /* Оң жақтағы батырмаларға орын */
    z-index: 10;
    pointer-events: auto;
}

.ad-title {
    color: white;
    font-size: 20px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.ad-price {
    color: #2ecc71; /* Баға ерекше жасыл түспен */
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
}

.ad-desc {
    color: #ddd;
    font-size: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Максимум 2 қатар */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ⚡ Оң жақтағы батырмалар (Side Actions) (Жаңаланған ✅) */
 .action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.action-item:active {
    transform: scale(0.9); /* Басқанда кішірейеді */
}

.action-item i {
    font-size: 30px;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.6));
}

.action-item span {
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* 🟢 WhatsApp иконкасына нақты түс беру ✅ */
.action-item i.fa-whatsapp {
    color: #25d366; /* Нағыз WhatsApp жасылы */
}

/* 🎁 Сыйлық иконкасы */
.action-item i.fa-gift {
    color: #ff4757; /* Қызыл */
}
/* Жүрекшелер ұшуы үшін контейнерде мынау болуы шарт */
.video-wrapper {
    position: relative;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 80px;
    color: rgba(255, 41, 73, 0.9); /* TikTok қызылы */
    pointer-events: none;
    z-index: 1000;
    animation: heartFly 0.8s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes heartFly {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    15% {
        transform: translate(-50%, -50%) scale(1.2) rotate(-15deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -150%) scale(1.5) rotate(15deg);
        opacity: 0;
    }
}
.top-fog-overlay, .bottom-fog-overlay {
    pointer-events: none; /* 💡 Басу оқиғасы бұлар арқылы видеоға өтіп кетеді */
}

/* Жүрекшенің ортасын дәлдеу */
.floating-heart {
    position: absolute;
    transform: translate(-50%, -50%); /* 💡 Міндетті түрде ортаға қою */
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity; /* Оптимизация */
}
/* Контейнер: Оңға-солға свайп логикасы */
.media-scroller {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.media-scroller::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.media-page {
    min-width: 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
}

.feed-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Экранды толық жабу */
}
 

/* Маңызды: Видео overlay-і свайпқа кедергі жасамауы керек */
.video-overlay {
    pointer-events: none;
}
.side-actions, .ad-info-bottom, .ad-hashtag {
    pointer-events: auto; /* Батырмалар істеп тұруы үшін */
}
/* Фото жүктеу секциясы */
.form-section-modern {
    margin-bottom: 20px;
}

.section-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

/* Фотолар торы (Grid) */
.photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

/* Әр фотоның контейнері */
.photo-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover .preview-img {
    transform: scale(1.05);
}

/* Өшіру батырмасы (X) */
.remove-photo-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 41, 73, 0.85); /* TikTok қызылына ұқсас */
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    z-index: 2;
    transition: background 0.2s;
}

.remove-photo-btn:hover {
    background: rgba(255, 0, 0, 1);
}

/* Фото қосуға арналған бос орын (Placeholder) */
.add-photo-placeholder {
    aspect-ratio: 1 / 1;
    border: 2px dashed #ccc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    background: #fafafa;
    transition: all 0.3s ease;
}

.add-photo-placeholder:hover {
    border-color: #ff2949;
    color: #ff2949;
    background: #fff5f6;
}

.add-photo-placeholder i {
    font-size: 28px;
}
/* Баға өрісінің стилі */
.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-label {
    position: absolute;
    right: 15px;
    font-weight: bold;
    color: #2ecc71;
}

/* Телефон өрісінің стилі */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.whatsapp-icon {
    position: absolute;
    left: 15px;
    color: #25D366;
    font-size: 1.2rem;
}

.phone-field {
    padding-left: 45px !important;
}

.form-help {
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
    display: block;
}

/* WhatsApp және Маска стилі */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.whatsapp-icon {
    position: absolute;
    left: 15px;
    color: #25D366;
    font-size: 1.2rem;
}
.phone-field {
    padding-left: 45px !important;
}

/* 15 Фотоға арналған грид */
.photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
}
.add-photo-placeholder span {
    font-size: 0.7rem;
    margin-top: 4px;
}

.bottom-sheet {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.bottom-sheet.is-active { visibility: visible; }

.sheet-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.sheet-container {
    position: relative;
    background: white;
    width: 100%;
    max-height: 85vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
    overflow-y: auto;
}
.bottom-sheet.is-active .sheet-container { transform: translateY(0); }

.drag-handle {
    width: 40px; height: 5px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 0 auto 15px;
}

.full-content-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2c3e50;
    white-space: pre-wrap; /* Өлең форматын сақтайды */
}
.talent-gold { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.standard-blue { background: #e7f3ff; color: #007bff; }
.upload-drawer {
    display: flex;
    flex-direction: column;
    height: 100%; /* Панель толық биіктікте */
}

 
/* Drawer Базасы */
.drawer-content {
    overflow-y: auto;
    flex: 1;
    padding: 20px 20px 100px 20px;
}

.drawer-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
    z-index: 100;
}

/* Видео Превью */
.preview-video-element {
    width: 100%;
    border-radius: 12px;
    max-height: 300px;
    background: #000;
}

.preview-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-remove-v {
    flex: 1;
    background: #ff4757;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
}

.btn-edit-v {
    flex: 1;
    background: #f1f2f6;
    color: #2f3542;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
}

/* Индикаторлар */
.limit-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}
.talent-gold { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.standard-blue { background: #e7f3ff; color: #007bff; }

/* Жариялау батырмасы */
.btn-send-modern {
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}
.btn-send-modern:disabled {
    background: #ccc;
    cursor: not-allowed;
}
/* Прогресс-бар контейнері */
.insta-progress-container {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    gap: 4px;
    padding: 0 10px;
    z-index: 20;
}

/* Әрбір сызықшаның базалық стилі */
.insta-progress-bar {
    height: 2px;
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background 0.3s;
}

/* Белсенді және өтіп кеткен сызықшалар */
.insta-progress-bar.is-active,
.insta-progress-bar.is-passed {
    background: white;
}

/* Басу зоналары (көрінбейді, бірақ жұмыс істейді) */
.insta-progress-bar {
    height: 3px; /* Сәл қалыңдау */
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

/* Басу аймағын (hit area) үлкейту */
.insta-progress-bar::after {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 0;
    right: 0;
}

.insta-progress-bar.is-active {
    background: white;
}

.side-actions {
    position: absolute;
    right: 10px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100; /* Батырмалар әрқашан үстінде тұруы керек ✅ */
}