/* ئاساسىي ئۇسلۇبلار */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft Uighur", "Segoe UI", Tahoma, sans-serif;
    direction: rtl;
    background: #f5f5f5;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    padding-top: 100px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* باش قىسىم */
.header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #e74c3c;
    font-size: 1.5rem;
    font-weight: bold;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-bar {
    display: flex;
    gap: 8px;
}

.search-bar input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 250px;
    direction: rtl;
}

.search-bar input:focus {
    outline: none;
    border-color: #e74c3c;
}

.search-bar button {
    padding: 8px 20px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.search-bar button:hover {
    background: #c0392b;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-admin {
    padding: 6px 15px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
}

.back-btn {
    padding: 8px 20px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: "Microsoft Uighur", "Segoe UI", Tahoma, sans-serif;
}

.back-btn:hover {
    background: #c0392b;
}

#authLink {
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.9rem;
}

/* نېۋىگاتسىيە */
.nav-bar {
    background: #e74c3c;
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    z-index: 999;
    min-height: 45px;
    display: flex;
    align-items: center;
}

.nav-bar .container {
    display: flex;
    gap: 0;
    flex-direction: row-reverse;
    justify-content: flex-end;
    max-width: none;
    padding: 0;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 12px 12px;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.nav-item:first-child {
    padding-right: 19px;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
}

/* بۆلەكلەر */
.section {
    display: none;
    padding: 20px 0;
}

.section.active {
    display: block;
}

/* مەزمۇن بۆلەكلىرى */
.content-section {
    background: white;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.section-header h2 {
    color: #e74c3c;
    font-size: 1.3rem;
    font-weight: bold;
}

.view-all {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all:hover {
    text-decoration: underline;
}

/* ئاددىي خىزمەت تىزىملىكى - ulinix.cn ئۇسلۇبى */
.simple-job-list {
    list-style: none;
    padding: 0;
}

.simple-job-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.simple-job-list li:last-child {
    border-bottom: none;
}

.simple-job-list li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.simple-job-list li a:hover {
    color: #e74c3c;
}

.job-title {
    font-weight: bold;
    color: #333;
}

.job-company {
    color: #666;
    font-size: 0.9rem;
}

.job-salary {
    color: #e74c3c;
    font-weight: bold;
    font-size: 0.9rem;
}

.job-time {
    color: #999;
    font-size: 0.8rem;
}

/* كەسىپكارلار تورى */
.professional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

/* تۈرلەر تورى */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-item:hover {
    background: #f0f0f0;
    border-color: #4A90D9;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.15);
}

.category-icon {
    font-size: 1.2rem;
}

.category-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.publish-category-section {
    margin-bottom: 30px;
}

.publish-category-section h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.publish-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.publish-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.publish-category-item:hover {
    border-color: #4A90D9;
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.2);
    transform: translateY(-3px);
}

.publish-category-item.active {
    border-color: #4A90D9;
    background: #f0f7ff;
}

.publish-category-item .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.publish-category-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.publish-category-item .name {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.jobs-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.jobs-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: white;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.jobs-category-item:hover {
    border-color: #4A90D9;
    background: #f0f7ff;
}

.jobs-category-item.active {
    border-color: #4A90D9;
    background: #f0f7ff;
}

.jobs-category-item .icon {
    font-size: 2rem;
    margin-bottom: 6px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jobs-category-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.jobs-category-item .name {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

.jobs-list-container {
    min-height: 200px;
}

.category-icon-text {
    font-size: 1.2rem;
}

.category-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
}

.professional-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    transition: box-shadow 0.3s;
}

.professional-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.professional-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.professional-skill {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.professional-contact {
    color: #666;
    font-size: 0.85rem;
}

.btn-add-professional {
    padding: 6px 15px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-add-professional:hover {
    background: #27ae60;
}

/* ستاتىستىكا */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: white;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.stat-item strong {
    display: block;
    color: #e74c3c;
    font-size: 2rem;
    font-weight: bold;
}

/* خىزمەت تىزىملىكى */
.job-list {
    display: grid;
    gap: 15px;
}

.job-card {
    background: white;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.job-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.job-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.job-card-salary {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
}

.job-card-info {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.job-card-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* سۈزگۈچلەر */
.job-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 0.85rem;
    color: #666;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    min-width: 150px;
}

/* فورما */
.job-form {
    background: white;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.btn-submit {
    padding: 12px 30px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.btn-submit:hover {
    background: #c0392b;
}

/* مودال */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.category-modal {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    overflow-x: visible;
}

.close {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

.auth-modal {
    max-width: 400px;
}

.auth-switch {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.auth-switch a {
    color: #3498db;
    text-decoration: none;
}

.auth-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-method {
    width: 100%;
}

.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.auth-divider span {
    color: #999;
    font-size: 0.9rem;
}

.wechat-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.wechat-qr-code {
    width: 180px;
    height: 180px;
    background: white;
    border: 2px solid #07c160;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    text-align: center;
    padding: 20px;
}

.wechat-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
}

.qr-placeholder p {
    margin: 5px 0;
    color: #333;
}

.wechat-btn {
    width: 100%;
    padding: 12px;
    background: #07c160;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: "Microsoft Uighur", "Segoe UI", Tahoma, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.wechat-btn:hover {
    background: #06ad56;
}

.wechat-profile-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.wechat-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #07c160;
    object-fit: cover;
}

.wechat-profile-info {
    flex: 1;
}

.wechat-nickname {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.wechat-hint {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 6px;
    border: 1px solid #07c160;
}

/* ھەققىدە */
.about-content {
    background: white;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-content h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.about-content ul {
    padding-right: 20px;
}

.about-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ئاستى قىسىم */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* ئىنكاسچان لايىھە */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar input {
        width: 200px;
    }
    
    .nav-bar .container {
        flex-wrap: wrap;
    }
    
    .nav-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .job-filters {
        flex-direction: column;
    }
    
    .professional-grid {
        grid-template-columns: 1fr;
    }
}

/* ئايلانما ئېلان */
.banner-section {
    margin-bottom: 30px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@media (max-width: 768px) {
    .banner-slider {
        height: 200px;
    }
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide .banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ناخشا قويغۇچ */
.song-player {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.song-list {
    max-height: 300px;
    overflow-y: auto;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.song-item:hover {
    background: #f9f9f9;
}

.song-item.playing {
    background: #fff3cd;
}

.song-cover-small {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.song-cover-small img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.song-item-info {
    flex: 1;
    min-width: 0;
}

.song-item-title {
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-item-artist {
    color: #888;
    font-size: 0.85rem;
}

.song-play-icon {
    font-size: 1.2rem;
    color: #e74c3c;
    flex-shrink: 0;
}

.now-playing {
    padding: 15px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.now-playing-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

#nowPlayingTitle {
    font-weight: bold;
    color: #333;
}

#nowPlayingArtist {
    color: #888;
    font-size: 0.85rem;
}

/* ناخشا قويغۇچ ۋە ھاۋا رايى قاتار تىزىلىشى */
.player-weather-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.player-weather-row .new-song-player {
    flex: 1;
    min-width: 0;
    height: 150px;
}

/* ۋاقىت بۆلىكى */
.weather-widget {
    width: 250px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 150px;
}

.site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.site-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90D9, #6BB3F0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo-icon {
    font-size: 0.9rem;
}

.site-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.site-name {
    font-size: 0.75rem;
    font-weight: bold;
    color: #333;
}

.site-url {
    font-size: 0.65rem;
    color: #4CAF50;
}

.datetime-widget {
    text-align: center;
    width: 100%;
}

.current-time {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4A90D9;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.current-date {
    font-size: 0.7rem;
    color: #666;
    margin-top: 3px;
}

.current-weekday {
    font-size: 0.65rem;
    color: #888;
    margin-top: 2px;
}

/* ناخشا قويغۇچ - 87.html لايىھە */
.new-song-player {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: stretch;
    gap: 15px;
    backdrop-filter: blur(10px);
    direction: ltr;
    height: 150px;
}

.player-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.album-art {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
    color: white;
    min-width: 0;
}

.song-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.player-controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.progress-container {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0.8;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.volume-level {
    height: 100%;
    background: white;
    border-radius: 3px;
    width: 70%;
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.play-btn {
    width: 48px;
    height: 48px;
    background: white;
    color: #6d28d9;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-btn:hover {
    background: #f0f0f0;
    transform: scale(1.15);
}

/* ئوڭ تەرەپ ناخشا تىزىملىكى */
.song-list-sidebar {
    width: 200px;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 15px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 120px;
    overflow-y: auto;
}

.song-list-sidebar::-webkit-scrollbar {
    width: 4px;
}

.song-list-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.song-sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.song-sidebar-item:hover {
    background: rgba(255,255,255,0.25);
}

.song-sidebar-item.playing {
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.5);
}

.song-sidebar-cover {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    overflow: hidden;
}

.song-sidebar-cover img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.song-sidebar-info {
    min-width: 0;
}

.song-sidebar-title {
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-sidebar-artist {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
}

/* ئويناش ھالىتى */
.new-song-player.playing .album-art {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* تۈرلەر بويىچە ئۇچۇرلار */
.category-jobs-container {
    margin-top: 30px;
}

.category-jobs-section {
    margin-bottom: 35px;
}

.category-jobs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.category-jobs-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.category-jobs-icon {
    font-size: 1.5rem;
}

.category-jobs-view-all {
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.9rem;
}

.category-jobs-view-all:hover {
    text-decoration: underline;
}

.category-jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.category-job-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.category-job-card-image {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
}

.category-job-card-content {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.category-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.category-job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-job-card-title {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
    margin-bottom: 0;
}

.category-job-card-salary {
    color: #e74c3c;
    font-weight: bold;
    font-size: 0.95rem;
}

.category-job-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.category-job-card-desc {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* بېتىلەر (Pagination) */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination-info {
    color: #888;
    font-size: 0.85rem;
    margin: 0 10px;
}

/* تەپسىلات بەتى */
.job-detail-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.job-detail-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.job-detail-content h2 {
    color: #e74c3c;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.job-company {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tag.category-tag {
    background: #e74c3c;
    color: white;
}

.detail-section {
    margin-bottom: 25px;
}

.detail-section h3 {
    color: #e74c3c;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.detail-section p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.job-image-gallery {
    margin-bottom: 25px;
}

/* يېڭى رەسىم كۆرسىتىش لايىھەسى */
.job-image-gallery-new {
    margin-bottom: 25px;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 12px;
}

.main-detail-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #f5f5f5;
    display: block;
}

.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.thumbnail-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 0.6;
}

.thumbnail-item:hover {
    opacity: 0.9;
    border-color: #ccc;
}

.thumbnail-item.active {
    border-color: #e74c3c;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* كونا رەسىم كۆرسىتىش لايىھەسى */
.gallery-horizontal {
    overflow: hidden;
}

.gallery-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.gallery-scroll-image {
    height: 200px;
    width: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.extra-info-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.extra-info-card h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.extra-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.extra-info-item {
    color: #555;
    font-size: 0.95rem;
}

.extra-info-item strong {
    color: #333;
}

/* تەۋسىيە خىزمەتلەر */
.recommendations {
    margin-top: 30px;
}

.recommendations h3 {
    color: #e74c3c;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

#recommendList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.recommendation-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.recommendation-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recommendation-content {
    padding: 15px;
}

.recommendation-content h3 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 10px;
}

.recommendation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.recommendation-tags span {
    font-size: 0.8rem;
    color: #666;
}

.no-recommendations {
    text-align: center;
    color: #888;
    padding: 30px;
}

/* ئىنكاسلار */
.comments-section {
    margin-top: 30px;
}

.comment-form {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: "Microsoft Uighur", "Segoe UI", Tahoma, sans-serif;
    resize: vertical;
    box-sizing: border-box;
    direction: rtl;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.comment-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: flex-start;
}

.comment-author-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: "Microsoft Uighur", "Segoe UI", Tahoma, sans-serif;
    width: 150px;
    direction: rtl;
}

.comment-author-input:focus {
    outline: none;
    border-color: #e74c3c;
}

.submit-comment-btn {
    padding: 10px 20px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: "Microsoft Uighur", "Segoe UI", Tahoma, sans-serif;
    transition: background 0.3s;
}

.submit-comment-btn:hover {
    background: #c0392b;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.comment-date {
    font-size: 0.85rem;
    color: #888;
}

.comment-content {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    color: #888;
    padding: 30px;
    background: white;
    border-radius: 10px;
}

/* ئىنكاسچان لايىھە */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
    
    .nav-bar {
        top: auto;
        bottom: 0;
    }
    
    .new-song-player {
        flex-direction: column;
        padding: 20px;
    }
    
    .player-main {
        flex-direction: column;
        text-align: center;
    }
    
    .song-list-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.3);
        padding-left: 0;
        padding-top: 15px;
        max-height: 120px;
    }
    
    .job-detail-content {
        padding: 20px;
    }
    
    .job-detail-content h2 {
        font-size: 1.4rem;
    }
    
    .extra-info-grid {
        grid-template-columns: 1fr;
    }
    
    #recommendList {
        grid-template-columns: 1fr;
    }
}

/* Dashboard ئۇسلۇبلىرى */
.dashboard-main {
    padding: 20px 0;
    min-height: calc(100vh - 100px);
}

.profile-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    background: #e0e0e0;
    color: #666;
}

.badge-premium {
    background: linear-gradient(135deg, #f5af19, #f12711);
    color: white;
}

.badge-agent {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.badge-admin {
    background: #333;
    color: white;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.detail-item {
    display: flex;
    gap: 8px;
}

.detail-label {
    font-weight: bold;
    color: #666;
}

/* Dashboard تەب بار */
.dashboard-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
    overflow-x: auto;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
    font-weight: bold;
}

/* تەب مەزمۇنلىرى */
.tab-panel {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.panel-header h3 {
    margin-bottom: 0;
}

/* ئېلان كارتىسى */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    transition: box-shadow 0.2s;
}

.job-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.job-header h4 {
    font-size: 1.1rem;
}

.job-category {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #666;
}

.job-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #555;
}

.job-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-small:hover {
    background: #f5f5f5;
}

.btn-small.btn-danger {
    color: #e74c3c;
    border-color: #e74c3c;
}

.btn-small.btn-danger:hover {
    background: #e74c3c;
    color: white;
}

/* ئەزالىق ھالىتى */
.membership-status {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.membership-status p {
    margin-bottom: 4px;
}

/* پىلان كارتىسى */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.plan-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.plan-card:hover {
    border-color: #e74c3c;
    transform: translateY(-2px);
}

.plan-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 4px;
}

.plan-duration {
    color: #666;
    margin-bottom: 12px;
}

.plan-features {
    list-style: none;
    text-align: right;
    margin-bottom: 16px;
}

.plan-features li {
    padding: 4px 0;
    color: #555;
}

.plan-features li::before {
    content: '✓ ';
    color: #27ae60;
    font-weight: bold;
}

/* ۋاكالەتچى فورمىسى */
.agent-form {
    text-align: center;
    padding: 20px;
}

.agent-form p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.form-select {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 16px;
}

#agentInfo {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

#agentInfo p {
    font-size: 1.1rem;
}

/* تەڭشەك فورمىسى */
.settings-form {
    max-width: 400px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #555;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #e74c3c;
}

.btn-primary {
    padding: 10px 20px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #c0392b;
}

.btn-danger {
    padding: 10px 20px;
    background: white;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #e74c3c;
    color: white;
}

.btn-back {
    padding: 8px 16px;
    background: #f0f0f0;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-back:hover {
    background: #e0e0e0;
}

.btn-dashboard {
    padding: 8px 16px;
    background: #27ae60;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-dashboard:hover {
    background: #219a52;
}

.loading, .empty-message, .error-message {
    text-align: center;
    padding: 30px;
    color: #888;
}

.error-message {
    color: #e74c3c;
}
