
.days-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: start;
}

.day-button {
    border: 2px solid rgb(232, 243, 243);
    background: rgb(232, 243, 243);
    color: rgb(1, 85, 85);
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.day-button.active {
    border-color: rgb(1, 85, 85);
    background: rgb(232, 243, 243);
    color: rgb(1, 85, 85);
}

.day-button:disabled {
    background: rgb(200, 200, 200);
    color: rgb(100, 100, 100);
    cursor: not-allowed;
}

.day-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.day-content p {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* CSS لتنسيق السويتش */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

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

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

.sliderswitch:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.sliderswitch {
    background-color: #4caf50;
}

input:checked+.sliderswitch:before {
    transform: translateX(26px);
}

.flexible-working-hours {
    margin: 20px 0;
    text-align: center;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: #e0e0e0;
    /* اللون الافتراضي */
    height: 6px;
    border-radius: 5px;
    outline: none;
    position: relative;
    z-index: 2;
}

.slider::-webkit-slider-runnable-track {
    /* background: linear-gradient(to right, #4caf50 0%, #4caf50 58.3%, #e0e0e0 58.3%); */
    height: 6px;
    border-radius: 5px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    /* اللون الأبيض للمقبض */
    border: 4px solid #4caf50;
    /* الإطار الأخضر */
    /* background: #4caf50;  */
    cursor: pointer;
    border-radius: 50%;
    z-index: 6;
    transition: transform 0.2s ease-in-out;
    /* تأثير الحركة */
    position: relative;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    /* تكبير المقبض عند المرور عليه */
}

/* .slider::-moz-range-thumb {
width: 20px;
height: 20px;
background:rgb(41, 90, 43);
cursor: pointer;
border-radius: 50%;
z-index: 4;
position: relative;
} */
.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid #4caf50;
    border-radius: 50%;
    cursor: pointer;
    z-index: 6;
    transition: transform 0.2s ease-in-out;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

/* تدرج اللون */
.slider::-moz-range-progress {
    background: #4caf50;
}

.slider::-ms-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid #4caf50;
    border-radius: 50%;
    cursor: pointer;
}

.slider-highlight {
    position: absolute;
    top: 10px;
    /* left: 0; */
    height: 10px;
    /* height: 100%; */
    background-color: #4caf50;
    /* لون التضليل */
    z-index: 3;
    border-radius: 5px;
}


.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #888;
}

/* Ticks container */
.ticks-container {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Avoid interfering with slider interactions */
}

/* Individual tick (white circle) */
.tick {
    width: 10px;
    height: 10px;
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    z-index: 3;
}

.hours-display {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #4caf50;
}

.hours-display i {
    margin-right: 5px;
    color: #4caf50;
}

input:focus {
    border-color: #4caf50;
    /* لون أخضر عند التركيز */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:hover {
    border-color: #2196f3;
    /* لون أزرق عند التمرير */
    transition: border-color 0.3s;
}

input.is-invalid {
    border-color: #f44336;
    /* لون أحمر */
    background-color: #ffebee;
    /* لون خلفية أحمر خفيف */
}

input.is-valid {
    border-color: #4caf50;
    /* لون أخضر */
    background-color: #e8f5e9;
    /* لون خلفية أخضر خفيف */
}

.is-valid {
    border-color: #4caf50;
    /* لون الإطار أخضر */
    background-color: #e8f5e9;
    /* خلفية خضراء خفيفة */
}

.is-invalid {
    border-color: #f44336;
    /* لون الإطار أحمر */
    background-color: #ffebee;
    /* خلفية حمراء خفيفة */
}

.feedback {
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
    color: #f44336;
    /* لون الرسائل */
}

.form-control-input::-webkit-inner-spin-button,
.form-control-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    /* إخفاء أزرار زيادة الأرقام */
    margin: 0;
}

.form-control-input[type="number"] {
    -moz-appearance: textfield;
    /* إخفاء الأسهم في متصفحات فايرفوكس */
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: bold;
    padding: 10px 15px;
}

.row .col {
    padding: 10px;
}

.day-box {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
}

.day-box strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.status {
    font-size: 0.9rem;
}

.check-icon {
    color: #007bff;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.is_dynamic-icon {
    color: #066a1aad;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.cross-icon {
    color: #dc3545;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.hours {
    color: #6c757d;
    font-weight: bold;
    margin-bottom: 5px;
}

.time-range {
    font-size: 0.85rem;
    color: #6c757d;
}

.m_8d3afb97 {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, opacity .1s ease;
    width: 100%;
    height: 100%;
}
