/* تنسيقات مؤتمر الزيتون - Simple Version */
.olive-conf-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    animation: oliveFadeIn 0.5s ease;
    direction: rtl;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    overflow-y: auto;
    padding: 20px 0;
}

.olive-conf-container {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    animation: oliveSlideUp 0.7s ease;
}
.olive-farmers-announcement {
    color: black !important; 
    font-size: 2.2rem;
    text-align: center;
    margin: 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #556b2f;
    position: relative;
}

.close-olive-conf {
    position: absolute;
    top: 10px;
    left: 15px;
    background: #8B7355;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-olive-conf:hover {
    background: #A0522D;
}

/* الهيدر */
.olive-conf-header {
    background: #556B2F;
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.logo h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.subtitle {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* المحتوى الرئيسي */
.olive-conf-content {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* قسم الإعلان */
.announcement-section {
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.announcement-text {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.register-link {
    color: #556B2F;
    font-weight: 600;
    text-decoration: none;
    margin-right: 5px;
}

.register-link:hover {
    text-decoration: underline;
}

/* قسم الجدول الزمني - مع حدود */
.timeline-section {
    margin-bottom: 20px;
}

.section-subtitle {
    color: #8B7355;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.simple-table-container {
    overflow-x: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.simple-table thead {
    background: #f8f8f8;
}

.simple-table th {
    padding: 10px 12px;
    font-weight: 600;
    text-align: center;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

.simple-table th:last-child {
    border-right: none;
}

.simple-table tbody tr {
    border-bottom: 1px solid #e8e8e8;
}

.simple-table tbody tr:last-child {
    border-bottom: none;
}

.simple-table tbody tr:hover {
    background-color: #f9f9f9;
}

.simple-table td {
    padding: 8px 10px;
    text-align: center;
    border-right: 1px solid #e8e8e8;
}

.simple-table td:first-child {
    text-align: right;
    font-weight: 500;
    color: #444;
}

.simple-table td:last-child {
    text-align: left;
    color: #556B2F;
    font-weight: 500;
    border-right: none;
}

/* حدود خفيفة بين الخلايا */
.simple-table th,
.simple-table td {
    border-left: 1px solid #e8e8e8;
}

.simple-table th:first-child,
.simple-table td:first-child {
    border-left: none;
}

/* قسم التسجيل */
.registration-section {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.simple-registration-btn {
    display: inline-block;
    background: #556B2F;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid #4a5c29;
}

.simple-registration-btn:hover {
    background: #6B8E23;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* الفوتر */
.olive-conf-footer {
    background: #f8f8f8;
    color: #333;
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.contact-info p {
    margin: 5px 0;
}

.contact-phone {
    font-weight: 600;
    color: #556B2F;
}

/* تأثيرات الحركة */
@keyframes oliveFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes oliveSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .olive-conf-container {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .olive-conf-header {
        padding: 15px;
    }
    
    .logo h2 {
        font-size: 1.2rem;
    }
    
    .olive-conf-content {
        padding: 15px;
    }
    
    .simple-table {
        font-size: 0.85rem;
    }
    
    .simple-table th,
    .simple-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .olive-conf-container {
        margin: 5px;
        max-width: calc(100% - 10px);
        border-radius: 10px;
    }
    
    .olive-conf-header {
        padding: 12px;
    }
    
    .logo {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo h2 {
        font-size: 1.1rem;
    }
    
    .olive-conf-content {
        padding: 12px;
    }
    
    .simple-table {
        font-size: 0.8rem;
    }
    
    .simple-table th,
    .simple-table td {
        padding: 6px 8px;
    }
    
    .simple-registration-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .simple-table th,
.simple-table td {
    border: 1px solid #e4e4e4 !important;
}

/* إزالة الحدود المكررة من الحواف */
.simple-table {
    border-collapse: collapse !important;
}

.simple-table tr:hover {
    background: #fafafa;
}
}