/* ========================================
   صفحه لیست مشاغل - رنگ‌های زرد، سفید، مشکی
   ======================================== */

/* کانتینر اصلی */
.list-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    background: #ffffff;
}

/* ========================================
   هدر صفحه
   ======================================== */
.list-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 30px 35px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-right: 6px solid #ffd700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.list-header h1 {
    margin: 0;
    color: #ffd700;
    font-size: 28px;
    font-weight: 700;
}

.list-header h1 i {
    margin-left: 10px;
}

/* ========================================
   بخش‌های سئو
   ======================================== */

/* متن معرفی */
.seo-intro {
    background: #f8f8f8;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-right: 4px solid #ffd700;
}

.seo-intro h2 {
    color: #1a1a1a;
    font-size: 20px;
    margin: 0 0 10px 0;
}

.seo-intro p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 8px 0;
}

/* آمار سئو */
.seo-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 25px;
}

.seo-stats span {
    color: #555;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.seo-stats span i {
    color: #ffd700;
}

/* متن پایین صفحه */
.seo-footer {
    background: #f8f8f8;
    padding: 25px 30px;
    border-radius: 10px;
    margin-top: 30px;
    border-right: 4px solid #ffd700;
}

.seo-footer h3 {
    color: #1a1a1a;
    font-size: 18px;
    margin: 0 0 12px 0;
}

.seo-footer p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 8px 0;
}

.seo-footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 15px 0;
}

.seo-footer ul li {
    padding: 6px 0;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-footer ul li::before {
    content: "•";
    color: #ffd700;
    font-size: 20px;
    font-weight: bold;
}

/* ========================================
   عنوان‌های بخش‌ها
   ======================================== */
.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 25px 0 20px 0;
}

.section-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* عنوان ویژه */
.special-title {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-right: 5px solid #ffd700;
}

.special-title h2 {
    color: #ffd700;
}

.badge-special {
    background: #ffd700;
    color: #1a1a1a;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   لیست آگهی‌ها
   ======================================== */
.business-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* آیتم آگهی */
.business-item {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.business-item:hover {
    border-color: #ffd700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.15);
    transform: translateY(-3px);
}

/* آیتم ویژه */
.special-item {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fffef5 0%, #ffffff 100%);
}

.special-item:hover {
    border-color: #ffd700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.25);
}

/* آیتم رایگان */
.free-item {
    border: 1px solid #e0e0e0;
}

.free-item:hover {
    border-color: #888888;
}

/* ========================================
   تصویر آگهی
   ======================================== */
.business-image {
    flex-shrink: 0;
    width: 180px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999999;
    font-size: 48px;
}

/* نشان ویژه روی تصویر */
.special-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ffd700;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* ========================================
   جزئیات آگهی
   ======================================== */
.business-details {
    flex: 1;
    min-width: 0;
}

.business-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.business-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.business-header h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.business-header h2 a:hover {
    color: #ffd700;
}

/* اطلاعات */
.business-info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 25px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555555;
}

.business-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.business-info .city {
    color: #2d2d2d;
}

.business-info .manager {
    color: #555555;
}

.business-address {
    color: #666666;
    font-size: 14px;
    margin: 6px 0 12px 0;
    padding: 8px 14px;
    background: #f8f8f8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.business-address i {
    color: #ffd700;
}

.business-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

/* دکمه مشاهده جزئیات */
.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: #1a1a1a;
    color: #ffd700;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #ffd700;
}

.btn-view:hover {
    background: #ffd700;
    color: #1a1a1a;
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* دکمه ویژه */
.special-item .btn-view {
    background: #ffd700;
    color: #1a1a1a;
    border: 1px solid #ffd700;
}

.special-item .btn-view:hover {
    background: #1a1a1a;
    color: #ffd700;
}

/* ========================================
   دکمه ثبت اطلاعات شغلی - استایل جدید
   ======================================== */

.register-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-right: 6px solid #ffd700;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.register-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.register-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.register-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.15);
}

.register-box-bottom {
    margin-top: 30px;
    margin-bottom: 0;
}

.register-content {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.register-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700 0%, #f0c000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.register-box:hover .register-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.register-text {
    flex: 1;
    min-width: 200px;
}

.register-text h3 {
    margin: 0 0 6px 0;
    color: #ffd700;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.register-text h3 i {
    margin-left: 8px;
    color: #ffd700;
}

.register-text p {
    margin: 0;
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
}

.register-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #f0c000 100%);
    color: #1a1a1a;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.3px;
}

.register-btn:hover {
    background: transparent;
    color: #ffd700;
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.register-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.register-btn:hover i {
    transform: translateX(-5px);
}

/* نسخه کوچک‌تر دکمه در پایین صفحه */
.register-box-bottom .register-icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
}

.register-box-bottom .register-text h3 {
    font-size: 17px;
}

.register-box-bottom .register-btn {
    padding: 11px 25px;
    font-size: 14px;
}

/* ========================================
   دکمه ثابت در کنار صفحه (Sticky)
   ======================================== */
.register-sticky {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 15px 20px;
    border-right: 4px solid #ffd700;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    gap: 15px;
    animation: slideUp 0.5s ease;
    max-width: 350px;
}

.register-sticky .register-sticky-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
}

.register-sticky .register-sticky-text {
    flex: 1;
}

.register-sticky .register-sticky-text h4 {
    margin: 0 0 2px 0;
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
}

.register-sticky .register-sticky-text p {
    margin: 0;
    color: #aaaaaa;
    font-size: 12px;
}

.register-sticky .register-sticky-btn {
    flex-shrink: 0;
    background: #ffd700;
    color: #1a1a1a;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.register-sticky .register-sticky-btn:hover {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.register-sticky-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #1a1a1a;
    border: 2px solid #ffd700;
    border-radius: 50%;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-sticky-close:hover {
    background: #ffd700;
    color: #1a1a1a;
}

/* انیمیشن */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   دکمه بارگذاری بیشتر
   ======================================== */
.load-more-container {
    text-align: center;
    padding: 30px 0;
}

.load-more-btn {
    background: #1a1a1a;
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #ffd700;
    color: #1a1a1a;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.end-message {
    text-align: center;
    padding: 30px 0;
    color: #888888;
    font-size: 16px;
}

.end-message i {
    font-size: 32px;
    color: #ffd700;
    display: block;
    margin-bottom: 10px;
}

/* ========================================
   هشدار
   ======================================== */
.alert-warning {
    background: #fff8e1;
    border: 2px solid #ffd700;
    color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
}

.alert-warning i {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    color: #ffd700;
}

.alert-warning a {
    display: inline-block;
    margin-top: 15px;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 24px;
    background: #ffd700;
    border-radius: 8px;
    transition: all 0.3s;
}

.alert-warning a:hover {
    background: #1a1a1a;
    color: #ffd700;
}

/* ========================================
   ریسپانسیو
   ======================================== */

@media (max-width: 992px) {
    .business-image {
        width: 150px;
        height: 130px;
    }
    
    .register-sticky {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        padding: 12px 16px;
    }
    
    .register-sticky .register-sticky-text h4 {
        font-size: 13px;
    }
    
    .register-sticky .register-sticky-text p {
        font-size: 11px;
    }
    
    .register-sticky .register-sticky-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 768px) {
    .list-header {
        padding: 20px;
    }
    
    .list-header h1 {
        font-size: 20px;
    }
    
    .seo-intro {
        padding: 15px 18px;
    }
    
    .seo-intro h2 {
        font-size: 17px;
    }
    
    .seo-stats {
        gap: 10px;
        flex-direction: column;
        padding: 12px 16px;
    }
    
    .seo-footer {
        padding: 18px 20px;
    }
    
    .seo-footer h3 {
        font-size: 16px;
    }
    
    .business-item {
        flex-direction: column;
        padding: 15px;
    }
    
    .business-image {
        width: 100%;
        height: 180px;
    }
    
    .business-header h2 {
        font-size: 16px;
    }
    
    .business-info {
        gap: 10px;
        font-size: 13px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .business-address {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .load-more-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .register-box {
        padding: 20px;
        border-radius: 12px;
    }
    
    .register-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .register-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .register-text h3 {
        font-size: 17px;
    }
    
    .register-text p {
        font-size: 14px;
    }
    
    .register-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .register-box-bottom .register-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .register-box-bottom .register-text h3 {
        font-size: 16px;
    }
    
    .register-box-bottom .register-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .list-header h1 {
        font-size: 17px;
    }
    
    .business-item {
        padding: 12px;
    }
    
    .business-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-view {
        width: 100%;
        justify-content: center;
    }
    
    .register-box {
        padding: 16px;
        border-radius: 10px;
    }
    
    .register-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .register-text h3 {
        font-size: 15px;
    }
    
    .register-text p {
        font-size: 13px;
    }
    
    .register-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
}