/* General Styles */

/* Form Container */
.form-container {
    margin: 20px auto;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Success Message */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
select,
form input[type="tel"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    font-size: 1rem;
    direction: rtl;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="number"]:focus,
form input[type="tel"]:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Row and Column Layout */
.row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.column-form-item {
    flex: 1;
    min-width: 200px;
    margin: 0 1% -16px !important
}

/* Questionnaire Section */
.questionnaire-section {
    margin-top: 20px;
}

.questionnaire-section h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.questionnaire-section .question {
    margin-bottom: 15px;
}

.questionnaire-section .question label {
    font-weight: normal;
}

.questionnaire-section .question input[type="radio"],
.questionnaire-section .question input[type="checkbox"] {
    margin-right: 10px;
}

/* Error Messages */
.error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Submit Button */
button[type="submit"] {
    padding: 10px 20px;
    background-color: #4CAF50 !important;
    color: white !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .row {
        flex-direction: column;

    }

    .custom_iem_grop {
        flex-direction: row;
    }


    .column {
        width: 100%;
    }

}

@media (min-width: 768px) {
    .custom_iem_grop {
        flex-direction: row;
    }

    .third-fourth {
        order: 1;
    }

    .one-fourth {
        order: 2;
    }
}
/* Pre-loader container */
.preloader {
    position: fixed; /* Fixed position to cover the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Stack spinner and text vertically */
    z-index: 9999; /* Ensure it's on top of all other elements */
}

/* Spinner animation */
.spinner {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite; /* Spin animation */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading text */
.preloader p {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #333;
}
.date-picker{
    width: 100%;
}
@media only screen and (max-width: 767px) {
    .hrmargin_0 {
        font-size: 18px;
    }
    .date-picker{
        width: 100% !important;
    }
    ul.list_mixed li, ul.list_check li, ul.list_star li, ul.list_idea li{
        padding-left:  0 !important;
    }
    .list_idea{
        width: 100%;
    }
    h2 {
        font-size: 20px;
    }

    .quick_fact .number {
        font-size: 61px;
    }

    .quick_fact .title {
        font-size: 20px;
    }
    .no-margin-h ,.no-margin-v {
        max-height: 50vh;
    }
}