﻿header {
    background-color: #1C4645 !important;
    color: white;
    text-align: right;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Cairo', sans-serif;
}

    header h1 {
        margin: 0;
        font-weight: bold;
        font-size: 1.75rem;
        color: white;
    }

    header small {
        display: block;
        font-size: 0.85rem;
        color: white;
        margin-top: -5px;
        font-family: 'Cairo', sans-serif;
    }

    header i {
        font-size: 1.8rem;
        color: white;
        margin-left: 10px;
    }
    header img {
        height: 70px;
    }

.d-flex-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

main.main-content {
    flex-grow: 1;
    padding: 20px;
    background: white;
    min-height: 100vh;
}
/* زر تغيير اللغة */
.culture-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px;
/*    border: 0px solid white;*/
/*    border-radius: 5px;*/
    color: seagreen;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .culture-switcher:hover {
        background-color: white;
        color: #1C4645;
    }

    .culture-switcher i {
        font-size: 1.3rem;
    }

/* استجابة على الشاشات الصغيرة */
@media (max-width: 768px) {
    .culture-switcher {
        padding: 5px 8px;
        font-size: 0.9rem;
    }
}
.culture-toggle-icon {
    color: #3CB371; /* لون الأيقونة فقط */
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
/*    justify-content: center;*/
}

    .culture-toggle-icon:hover {
        cursor: pointer;
    }

    .culture-toggle-icon i {
        font-size: 1.5rem; /* تقريبا 28-30px */
        color: lightgrey;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }



footer {
    font-size: 0.85rem;
    background-color: #f1f1f1;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    margin-top: auto;
    color: var(--text-dark);
}
/*
 استجابة الشاشات الصغيرة */
@media (max-width: 768px) {
    .d-flex-wrapper {
        flex-direction: column;
    }
/*
     ... باقي قواعد الاستجابة */
}
