/* =====================================================
   صفحة الدورات القادمة - Upcoming Courses Page CSS
   المركز الليبي للاستشارات والتنمية البشرية
   ===================================================== */

:root {
    --navy-dark: #0A0F1D;
    --navy-corporate: #141F36;
    --navy-mid: #1E2D4A;
    --blue-identity: #344E97;
    --gold-premium: #B68D2E;
    --gold-glow: #D4AF37;
    --gold-light: rgba(212, 175, 55, 0.15);
    --cream-clean: #FDFBF7;
    --text-main: #1A222E;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-card: 0 8px 32px rgba(10, 15, 29, 0.08);
    --shadow-hover: 0 20px 60px rgba(10, 15, 29, 0.16);
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; margin: 0; padding: 0; }

*:focus-visible {
    outline: 2px solid var(--gold-premium) !important;
    outline-offset: 3px !important;
    border-radius: 4px;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--cream-clean);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* زخرفة الخلفية */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cg stroke='%23B68D2E' stroke-width='1.5' stroke-opacity='0.03' fill='none'%3E%3Cpath d='M50 15L58 35L75 25L65 42L85 50L65 58L75 75L58 65L50 85L42 65L25 75L35 58L15 50L35 42L25 25L42 35Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px;
    pointer-events: none;
    z-index: -1;
}

/* =====================================================
   Hero Banner
   ===================================================== */
.upcoming-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-corporate) 50%, #1A2D52 100%);
    padding: 90px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.upcoming-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 65%),
                radial-gradient(ellipse at 20% 80%, rgba(52, 78, 151, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-glow);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-badge i { font-size: 12px; }

.upcoming-hero h1 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.upcoming-hero h1 span {
    color: var(--gold-glow);
    display: block;
}

.upcoming-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(15px, 2vw, 18px);
    max-width: 680px;
    margin: 0 auto 30px;
    line-height: 1.9;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-item .stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold-glow);
    display: block;
    line-height: 1;
}

.hero-stat-item .stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    display: block;
}

/* =====================================================
   تخطيط الصفحة الرئيسية
   ===================================================== */
.upcoming-page-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* =====================================================
   رسالة الإشعار العلوية
   ===================================================== */
.pre-register-notice {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(182, 141, 46, 0.06));
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.pre-register-notice .notice-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-premium), var(--gold-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 18px;
}

.pre-register-notice .notice-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-corporate);
    margin-bottom: 4px;
}

.pre-register-notice .notice-text span {
    font-size: 14px;
    color: var(--text-muted);
}

/* =====================================================
   قسم عنوان + فلتر
   ===================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.section-title-group h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy-corporate);
    margin-bottom: 6px;
}

.section-title-group p {
    font-size: 14.5px;
    color: var(--text-muted);
}

.section-divider-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-premium), var(--gold-glow));
    border-radius: 4px;
    margin-bottom: 18px;
}

/* فلتر التصنيفات */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab-btn {
    background: var(--white);
    border: 1.5px solid rgba(182, 141, 46, 0.2);
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Tajawal', sans-serif;
}

.filter-tab-btn:hover {
    border-color: var(--gold-premium);
    color: var(--navy-corporate);
    background: var(--gold-light);
}

.filter-tab-btn.active {
    background: linear-gradient(135deg, var(--gold-premium), var(--gold-glow));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(182, 141, 46, 0.35);
}

/* =====================================================
   بطاقات الدورات القادمة
   ===================================================== */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.upcoming-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1.5px solid rgba(182, 141, 46, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.upcoming-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.25);
}

/* شريط اللون العلوي للبطاقة */
.card-top-stripe {
    height: 4px;
    background: linear-gradient(90deg, var(--gold-premium), var(--gold-glow), var(--blue-identity));
}

/* علامة "قريباً" */
.coming-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    z-index: 2;
}

.coming-soon-badge.announced {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

/* صورة الدورة */
.upcoming-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.upcoming-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.upcoming-card:hover .upcoming-card-img-wrap img {
    transform: scale(1.06);
}

/* طبقة التدرج فوق الصورة */
.card-img-overlay-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(10,15,29,0.7), transparent);
}

/* تاريخ الدورة فوق الصورة */
.card-date-chip {
    position: absolute;
    bottom: 14px;
    right: 16px;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(8px);
    color: var(--gold-glow);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* محتوى البطاقة */
.upcoming-card-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-identity);
    background: rgba(52, 78, 151, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(52, 78, 151, 0.15);
}

.upcoming-card-body h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--navy-corporate);
    line-height: 1.5;
    margin-bottom: 12px;
}

.card-brief-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

/* تفاصيل سريعة */
.card-quick-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px;
    background: rgba(249, 250, 251, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(182, 141, 46, 0.1);
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-info-item i {
    color: var(--gold-premium);
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.quick-info-item span {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* زر التسجيل المسبق */
.btn-pre-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, var(--navy-corporate), #1E2D4A);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Tajawal', sans-serif;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-pre-register::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60px; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 0.5s ease;
}

.btn-pre-register:hover::after { left: 200%; }

.btn-pre-register:hover {
    background: linear-gradient(135deg, var(--gold-premium), var(--gold-glow));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(182, 141, 46, 0.4);
    color: var(--white);
}

.btn-pre-register .btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

/* =====================================================
   حالة لا توجد دورات
   ===================================================== */
.no-upcoming-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
}

.no-upcoming-placeholder .placeholder-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(182, 141, 46, 0.12), rgba(52, 78, 151, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: var(--gold-premium);
}

.no-upcoming-placeholder h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-corporate);
    margin-bottom: 10px;
}

.no-upcoming-placeholder p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
}

/* =====================================================
   المودال - نموذج التسجيل المسبق
   ===================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 29, 0.7);
    backdrop-filter: blur(6px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: 24px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 40px 100px rgba(0,0,0,0.25);
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    margin: auto;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header-bar {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-corporate));
    padding: 28px 30px 24px;
    position: relative;
}

.modal-header-bar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-premium), var(--gold-glow));
}

.modal-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-glow);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.modal-header-bar h3 {
    color: var(--white);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.4;
}

.modal-header-bar .modal-course-name {
    color: var(--gold-glow);
    font-size: 14.5px;
    font-weight: 600;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.modal-form-body {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-corporate);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--gold-premium);
    font-size: 12.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Tajawal', sans-serif;
    color: var(--text-main);
    background: #FAFBFC;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-glow);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.form-req-star { color: #E53E3E; margin-right: 2px; }

.form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--gold-premium), var(--gold-glow));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Tajawal', sans-serif;
    margin-top: 8px;
    box-shadow: 0 6px 20px rgba(182, 141, 46, 0.35);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(182, 141, 46, 0.5);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* رسالة النجاح */
.form-success-state {
    text-align: center;
    padding: 40px 30px;
    display: none;
}

.form-success-state .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
    animation: successBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successBounce {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

.form-success-state h4 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-corporate);
    margin-bottom: 10px;
}

.form-success-state p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.success-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--navy-corporate), var(--navy-mid));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    transition: var(--transition-smooth);
}

.success-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 31, 54, 0.25);
}

/* =====================================================
   قسم المستشار / دعوة للاستشارة
   ===================================================== */
.cta-consultation-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-corporate) 100%);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.cta-consultation-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08), transparent 70%);
    pointer-events: none;
}

.cta-consultation-section h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-consultation-section p {
    color: rgba(255,255,255,0.65);
    font-size: 15.5px;
    max-width: 520px;
    margin: 0 auto 28px;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-premium), var(--gold-glow));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(182, 141, 46, 0.4);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(182, 141, 46, 0.55);
    color: white;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    border: 1.5px solid rgba(255,255,255,0.15);
    transition: var(--transition-smooth);
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

/* =====================================================
   شريط تقدم التمرير
   ===================================================== */
#scroll-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-premium), var(--gold-glow));
    z-index: 99999;
    transition: width 0.1s linear;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 768px) {
    .upcoming-hero { padding: 60px 20px 50px; }
    .hero-stats-row { gap: 24px; }

    .upcoming-page-body { padding: 40px 16px 60px; }

    .upcoming-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .form-row { grid-template-columns: 1fr; }

    .cta-consultation-section { padding: 36px 24px; }

    .cta-btn-group { flex-direction: column; align-items: center; }

    .pre-register-notice { flex-direction: column; text-align: center; }

    .modal-form-body { padding: 20px; }

    .card-quick-info { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .upcoming-hero h1 { font-size: 24px; }
    .filter-tabs { gap: 8px; }
    .filter-tab-btn { font-size: 12.5px; padding: 7px 14px; }
}

/* =====================================================
   أزرار التفاعل والمشاركة للدورات القادمة
   ===================================================== */
.course-social-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.social-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Tajawal', sans-serif;
    text-decoration: none;
    border: 1px solid transparent;
}
.like-btn {
    background-color: #f0f2f5;
    color: #65676b;
}
.like-btn:hover {
    background-color: #e4e6eb;
    color: var(--blue-identity);
    transform: translateY(-2px);
}
.like-btn.liked {
    background-color: rgba(52, 78, 151, 0.08);
    color: var(--blue-identity);
    border-color: rgba(52, 78, 151, 0.2);
}
.like-btn.liked i {
    animation: thumbsUpBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.share-btn {
    background-color: rgba(24, 119, 242, 0.06);
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.1);
}
.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.fb-share-btn {
    background-color: rgba(24, 119, 242, 0.08);
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.1);
}
.share-btn.fb-share-btn:hover {
    background-color: #1877F2;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.share-btn.wa-share-btn {
    background-color: rgba(37, 211, 102, 0.08);
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.1);
}
.share-btn.wa-share-btn:hover {
    background-color: #25D366;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.share-btn.tg-share-btn {
    background-color: rgba(0, 136, 204, 0.08);
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.1);
}
.share-btn.tg-share-btn:hover {
    background-color: #0088cc;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.25);
}

.share-btn.link-share-btn {
    background-color: rgba(182, 141, 46, 0.08);
    color: var(--gold-premium);
    border-color: rgba(182, 141, 46, 0.1);
}
.share-btn.link-share-btn:hover {
    background-color: var(--gold-premium);
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(182, 141, 46, 0.25);
}

@keyframes thumbsUpBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.4) rotate(-15deg); }
    100% { transform: scale(1); }
}

/* التنبيه العائم عند نسخ الرابط */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--navy-corporate);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    border: 1.5px solid var(--gold-premium);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}
.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ====================================================
   SMART COUNTDOWN TIMER COMPONENT
   ==================================================== */
.smart-countdown-container {
    background: linear-gradient(135deg, rgba(20, 31, 54, 0.95), rgba(10, 15, 29, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 15px 0 5px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.countdown-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-glow);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.countdown-timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
}
.time-unit {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 6px 4px;
}
.time-unit .unit-num {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    line-height: 1.2;
}
.time-unit small {
    display: block;
    font-size: 10px;
    color: var(--gold-premium);
    margin-top: 2px;
    font-weight: 600;
}
