body{
    background: linear-gradient(45deg, #f2d7ed, #ccc6fc, #f7e6d4, #c5f6f9);
    background-size: 300%, 300%;
    animation: color 12s ease-in-out infinite;
}
.main-div{
    border-radius: 30px;
}
.side-div{
    border-radius: 30px;
}


.current-language i {
    font-size: 20px;
    margin-right: 8px;
    color: #333333;
    vertical-align: middle;
}

/* Base Styles */
body {
    
    margin: 0;
    padding: 0;
}

/* Language Selector Container */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-block;
    z-index: 100;
}

/* Current Language Button */
.current-language {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.current-language:hover {
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Globe Icon */
.globe-icon {
    width: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 10;
}

/* Dropdown Active */
.dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Item */
.dropdown-item {
    padding: 10px 16px;
    cursor: pointer;
    color: #333333;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f4f4f4;
    color: #000000;
}

/* RTL Support */
body[dir="rtl"] .current-language {
    flex-direction: row-reverse;
}

body[dir="rtl"] .dropdown-item {
    text-align: right;
}
