/* Styling for the question rows */
#form-questions-table tr.question-row td {
    border-bottom: 2px solid #000 !important; /* Apply border to the cells in the row */
    padding-bottom: 40px !important; /* Add padding for better spacing */
    padding-top: 40px !important;
}

/* Styling for the answer rows */
#form-questions-table tr.answer-row td {
    border-bottom: 0 !important; /* Ensure no border for answer rows */
    padding: 0 0 20px 0 !important; /* Add padding for better spacing */
}

/* Styling for the form manager table */
#form-questions-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

#form-questions-table th, 
#form-questions-table td {
    padding: 12px 15px !important;
    text-align: left !important;
    border-bottom: 1px solid #ddd !important;
}

/* Add a hover effect to the rows */
#form-questions-table tr:hover {
    background-color: #f2f2f2 !important;
}

/* Style for the drag handle */
.drag-handle {
    cursor: move !important;
    text-align: center !important;
}

/* Style the add-choice, remove-choice, and remove-question buttons */
.add-choice, .remove-choice, .remove-question {
    background-color: #ff4d4d !important;
    color: white !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

.add-choice:hover, 
.remove-choice:hover, 
.remove-question:hover {
    background-color: #cc0000 !important;
}

/* Style the add-question button */
#add-question {
    background-color: #4CAF50 !important;
    color: white !important;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

#add-question:hover {
    background-color: #45a049 !important;
}

/* Style the form header */
.wrap h1 {
    font-size: 24px !important;
    margin-bottom: 20px !important;
}

/* Style for input fields, date fields, textareas, and select dropdowns */
/* input[type="text"], 
input[type="date"], 
textarea, 
select {
    width: 100% !important;
    padding: 10px !important;
    margin: 5px 0 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
} */

/*textarea {*/
/*    height: 80px !important;*/
/*}*/

/* Ensure buttons are properly aligned */
/*button {*/
/*    margin-top: 10px !important;*/
/*}*/


/* Style for the More Information textarea */
.more-info-textarea {
    width: 100%; /* Full width */
    height: 100px; /* Initial increased height */
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    resize: verticle;
    overflow: auto; /* Ensures scrollbars appear when needed */
}




    #progressBar {
        width: 100%;
        /*background-color: #f3f3f3;*/
        margin-bottom: 20px;
        height: 12px;
        border-radius: 5px;
    }

    #progress {
        height: 12px;
        /*background-color: #4caf50;*/
        width: 0%;
        border-radius: 5px;
    }

    .slide {
        display: none;
    }

    .navigation-buttons {
        margin-top: 20px;
    }



    .navigation-buttons button:hover {
        background-color: #45a049 !important;
    }

    /* Tooltip styling */
    .info-icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background-color: var(--e-global-color-8ed025a);
        color: white;
        text-align: center;
        font-size: 12px;
        line-height: 16px;
        margin-left: 8px;
        cursor: pointer;
        position: relative;
    }

    .info-icon:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #333;
        color: white;
        padding: 15px;
        border-radius: 5px;
        white-space: nowrap;
        z-index: 10;
        font-size: 14px;
    }

    .info-icon:hover::before {
        content: '';
        position: absolute;
        bottom: calc(100% - 5px);
        left: 50%;
        transform: translateX(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent #333 transparent;
        z-index: 10;
    }
    
    

    .meta-box-weight-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .meta-box-weight-container label {
        display: flex;
        align-items: center;
    }
    .meta-box-weight-container select {
        float: right;
        margin-left: auto;
    }

/* Grid container */
.organization-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 columns */
    gap: 20px;  /* Space between cards */
    margin-top: 20px;
}

/* Individual organization card */
.organization-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Organization logo */
.organization-logo img {
    margin-bottom: 15px;
    max-width: 200px !important;
    height: 120px !important;
    object-fit: contain;
    object-position: center center;
}
.organization-logo {
    text-align: center;
}
/* Organization title */
.organization-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Organization description */
.organization-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Style for the visit website link */
.organization-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0073aa; /* Default link color */
    font-weight: bold;
    margin-top: 10px;
}

.organization-link:hover {
    color: #005e8e; /* Hover color */
}

/* Style the icon next to the text */
.organization-icon {
    display: inline-block;
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.organization-icon svg {
    width: 100%;
    height: 100%;
    fill: #0073aa; /* Icon color */
}

.organization-link:hover .organization-icon svg {
    fill: #005e8e; /* Hover color for icon */
}

.organization-link-text {
    display: inline-block;
}


.recommended-bubble p{
    background-color: #ff8a65;
    border-radius: 99px;
    padding: 3px 10px;
  color: #fff;
    font-weight: 500
}

.recommended-bubble{
    display: flex;
}
div#organization_weights .inside h3:first-child {
    display: none !important;
}
#weight_0_0, #correct_0_0{
     display: none !important;
}
div#mceu_25 {
    display: none;
}

div#wp-organization_description-editor-tools {
    display: none;
}

.organization-updater label {
    color: #38506d;
    color: var(--e-global-color-primary);
    font-family: "Barlow", Sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1em;
    padding: 10px 0;
}



.organization-updater button#upload_featured_image {
    background: none;
    color: #38506d;
    border: none;
    font-size: 15px;
    font-weight: 400;
    text-decoration: underline;
    padding: 0px;
}

.organization-updater input[type="submit"] {
    background-color: var(--e-global-color-8ed025a);
    font-size: 1.1em;
    font-weight: 800;
    color: var(--e-global-color-b24674c);
    border-radius: 9px !important;
    padding: 8px 20px !important;
    border: none;
    margin-top: 40px;
}


.organization-updater div#featured_image_container {
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
}

/* Progress Bar */
.form-progress {
    display: block;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-bar {
    background-color: #f1f1f1;
    border-radius: 10px;
    height: 10px;
    width: 100%;
    position: relative;
}

.progress-bar-fill {
    background-color: #60c4e1; /* Match the blue progress bar */
    height: 100%;
    border-radius: 10px;
}

.progress-text {
    font-size: 14px;
    color: #38506d;
    float: right;
}

/* Role Options Styling */
.role-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.role-options input[type="radio"] {
    display: none;
}

.role-options label {
    padding: 20px 50px;
    background-color: #f1fce9;
    border: 1px solid #d4e3c1;
    border-radius: 8px;
    color: #3a4a61;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 18px;
    min-width: 120px;
    text-align: center;
}
.slide .role-options label {
    color: var(--e-global-color-primary);
    font-family: "Barlow", Sans-serif;
    font-size: 1em;
    font-weight: 700;
    margin: 15px;
}
.role-options label:hover {
    background-color: #d9e9c9;
}

.role-options input[type="radio"]:checked + label {
    background-color: #ccefc7;
    border-color: #8bc34a;
    color: #3a4a61;
}

/* Input for 'Other' explanation */
#other-explain {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #d4d4d4;
    border-radius: 5px;
    margin-top: 10px;
}

/* Buttons */
.navigation-buttons {
    /*margin-top: 20px;*/
        text-align: center;
    margin-top: 50px;
}

.navigation-buttons button, input#submitBtn {
    /*background-color: #ffa07a;*/
    /* border: none; */
    border-radius: 8px !important;
    /* padding: 10px 20px; */
    /* color: white; */
    /*font-size: 16px;*/
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: var(--e-global-color-8ed025a) !important;
    /* font-size: 1.1em ; */
    /* font-weight: 800; */
    /* color: var(--e-global-color-b24674c); */
    /* border-radius: 0px 0px 0px 0px; */
    /* padding: 16px 20px 18px 20px; */
    border: none !important;
    margin: 5px !important;
    padding: 10px 20px !important;



}
.submission-btn{
        display: flex;
    justify-content: center;
    margin-top: 50px;
}

.navigation-buttons button:hover, input#submitBtn:hover {
    box-shadow: 0px 5px 30px rgba(255, 171, 145, .5);
    border-radius: 22px !important;
    transition: transform 0.6s ease, box-shadow 0.6s ease, border-radius 0.4s ease-in-out;
    overflow: hidden;
    background-color: var(--e-global-color-8ed025a) !important;

}

#nextBtn {
    background-color: #4caf50; /* Green */
    margin-left: 10px;
}

#nextBtn:hover {
    background-color: #45a049;
}

.slide label {
color: var(--e-global-color-primary);
    font-family: "Barlow", Sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 40px;
}

.progress-bar {
    background-color: var(--e-global-color-5f1ad86) ;
}

div#progress {
        background-color: var(--e-global-color-588964c) ;

}