/* الحاوية */
.radio-container {
    display: flex;
    margin-bottom: 20px;
}

/* عنصر الراديو */
.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding: 10px 15px;
}

/* إخفاء المدخل الافتراضي */
.radio-item input[type="radio"] {
    display: none;
}

/* الزر الدائري */
.radio-button {
    width: 20px;
    height: 20px;
    border: 2px solid #ff6900;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* النقطة الداخلية عند التحديد */
.radio-button::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff6900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.3s ease;
}

/* التأثير عند التحديد */
.radio-item input[type="radio"]:checked + .radio-button {
    border-color: #ff6900;
    background-color: #eaf4ff;
    box-shadow: 0 0px 12px 0px #ff69008a;
}

.radio-item input[type="radio"]:checked + .radio-button::after {
    transform: translate(-50%, -50%) scale(1);
}

/* النص بجانب الزر */
.radio-label {
    font-size: 16px;
    user-select: none;
    transition: color 0.3s ease;
}

.radio-item:hover .radio-label {
    color: #ff6900;
}























/* إخفاء الـ checkbox الافتراضي */
input[type="checkbox"] {
    display: none;
}

/* تصميم الـ label ليبدو كـ checkbox */
.custom-checkbox {
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 2px solid #ff6900;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* عند تحديد الـ checkbox، أضف العلامة */
input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "✔";
    font-size: 18px;
    color: white;
    position: absolute;
    top: 61%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* تغيير اللون عند التحديد */
input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #ff6900;
    border-color: #ff6900;
}

















.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-container .label-text {
    width: 100px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 25px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 20px;
    transition: 0.4s;
}

.toggle-switch .slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3.5px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: #ff6600;
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(24px);
}

.toggle-switch .label-text {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}