body {
    font-family: 'Tahoma', sans-serif;
    background: #f0f0f0;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.tab-container {
    width: 90%;
    margin: 50px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-menu {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tab {
    flex: 1;
    padding: 15px 10px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.tab:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.tab.active {
    border-bottom: 4px solid #333;
}

.tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
