/* start new css  */
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 80px;
    justify-content: space-between;
}

.header-left {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.profile-icon {
    width: 37px;
    height: 37px;
    border-radius: 5px;
}

.language-selector {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 118px;
    height: 37px;
    background-color: #fafafa;
    border: 1px solid #a0a6bd;
    border-radius: 5px;
    padding: 0 8px;
}

.lang-toggle {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    padding: 0;
}

.language-dropdown {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.language-text {
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: #090909;
    white-space: nowrap;
}

.language-flag {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    inset-inline-end: auto;
    min-width: 140px;
    background: #ffffff;
    border: 1px solid #d9dbe5;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    padding: 6px;
    display: none;
    z-index: 50;
}

.lang-item {
    display: block;
    text-decoration: none;
    color: #090909;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.lang-item:hover {
    background: #f0f7ff;
    color: #0062ff;
}

.lang-switcher.open .lang-menu {
    display: block;
}

html[dir="rtl"] .lang-menu {
    inset-inline-end: 0;
    inset-inline-start: auto;
}

.logo {
    width: 220px;
    height: 52px;
    object-fit: contain;
}


.divider-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 16px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: #d9d9d9;
}

.divider-text {
    font-size: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: #000000;
    padding: 0 10px;
}

.footer {
    width: 480px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: auto;
    padding-top: 70px;
    padding-bottom: 40px;
    justify-content: space-between;
}

.footer-text {
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 27px;
    color: #000829;
}

.footer-link {
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 27px;
    color: #0062ff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-divider {
    width: 1px;
    height: 10px;
}


@media (max-width: 600px) {
    .footer {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 32px;
        padding-bottom: 20px;
    }
    .footer-text,
    .footer-link {
        font-size: 12px;
        line-height: 20px;
        text-align: left;
    }
    .footer-divider {
        display: none;
    }
}

/* end new css */