.iconCard--tab {
    cursor: pointer;
    text-align: center;
}

.step-wrapper {
    position: relative
}

@media (max-width: 800px) {
    .iconCard--tab {
        display: inline-block;
    }

    .step-wrapper {
        display: none;
    }
}

.tab-row h3 {
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    margin-top: 5px;
}

div.disabled {
    opacity: 0.5;
    pointer-events: none;
}

div.enabled {
    pointer-events: none;
    opacity: 1;
}

.form-group.row {
    margin-bottom: 1.5rem;
}

.note {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
}

small {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 28px;
}

.form-field {
    margin-bottom: 10px;
}

.form-check-label {
    color: unset !important;
}
.btn-border,
.btn-cancel {
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #000000 !important;
    background: #FEFEFE;
    border: 2px solid #00568F;
    border-radius: 999px;
    margin-bottom: 5px;
}

.btn-save {
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF !important;
    background: #00568F;
    border-radius: 999px;
    margin-bottom: 5px;
}

.btn-reset-all {
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #000000 !important;
    background: #FEFEFE;
    border: 2px solid #00568F;
    border-radius: 999px;
    margin-bottom: 5px;
}

.input-label {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
}

.form-sub-label {
    font-size: 16px;
    line-height: 20px;
}

.note-editor.note-frame {
    border-radius: 16.5px;
}

.greyCard {
    margin-bottom: 12px;
}

.minimum-age {
    width: 150px;
    text-align: center;
}

.gallery-item {
    display: inline-block;
    padding: 0.25em 0.4em;
    width: 33%;
    height: 200px;
    margin-right: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 5px;
    border: none;
    text-align: center;
    margin-top: 4px;
}

@media (max-width: 576px) {
    .gallery-item {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .note-editor .btn {
        width: unset;
        min-width: unset;
    }
}

.modal-fullscreen {
    width: 95vw;
    max-width: none;
    height: 90%;
    margin: 1.75rem auto;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.modal-fullscreen .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 13px;
}

.modal-fullscreen .modal-header .btn-close {
    padding: 0.5rem 0.5rem !important;
    margin: -0.5rem -0.5rem -0.5rem auto;
    top: unset !important;
}

.modal-fullscreen .modal-content,
.modal-fullscreen .modal-body {
    padding: 0;
}

.ifram-wrapper {
    height: 100%;
    width: 100%;
}

.note-editable ul {
    list-style: inside;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.validation-error {
    padding: 5px !important;
    margin: 0 !important;
    text-align: center;
    display: block;
    width: 100%;
    color: red;
}

.success-response-message {
    padding: 10px !important;
    margin: 0 !important;
    text-align: center;
    display: block;
    width: 100%;
    color: green;
}

.published-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.published-link {
    font-weight: bold;;
    font-size: 16px;
}

.calendar-icon {
    position: absolute;
    right: 30px;
    pointer-events: none;
    bottom: 9px;
    width: 30px;
}
#volunteer-number{
    width: 90px;
}
@media (max-width: 800px) {
    #volunteer-number{
        width: 100%;
    }
}
.contact-number {
    position: relative;
}

.contact-ext {
    position: absolute;
    top: -25px;
    right: 0;
}

.contact-ext span {
    font-weight: 500;
    font-size: 18px;
    color: #000000;
}

.contact-ext input {
    width: 70px;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-top: 5px;
}
.vue-treeselect .vue-treeselect__control{
    border: 0.82px solid #A3A6AA;
    border-radius: 16.5px;
    min-height: 40px;
}
span.vue-treeselect__multi-value-label{
    padding: 2px 5px;
}
/*********************/
.form-section h3 {
    font-weight: bold;
    font-size: 24px;
    line-height: 29px;
    text-transform: uppercase;
    color: #00568F;
}

.form-section p {
    font-style: normal;
    font-weight: normal;
    color: #000000;
}

.section-arrow {
    margin-left: 40px;
    cursor: pointer;
}

p.lead {
    margin-top: 15px;
}

/* progressbar  */
@keyframes growProgressBar {
    0%, 33% {
        --pgPercentage: 0;
    }
    100% {
        --pgPercentage: var(--value);
    }
}

@property --pgPercentage {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}
#progressbar {
    margin-left: 10px;
    --size: 4rem;
    --fg: #47B700;
    --bg: #FCB912;
    --pgPercentage: var(--value);
    animation: growProgressBar 3s 1 forwards;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(closest-side, #004e8e 80%, transparent 0 99.9%, white 0),
    conic-gradient(var(--fg) calc(var(--pgPercentage) * 1%), var(--bg) 0);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14pt;
    color: #ffffff;
}

#progressbar::before {
    counter-reset: percentage var(--value);
    content: counter(percentage) '%';
}

/* end progressbar*/
/* line arrow */
.step-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    transform: rotate(90deg) translate(10px, 30%);
}

.line {
    border-right: 0.4rem dashed black;
    display: inline-block;
    height: 5rem;
}

.line-fix {
    border-right: 0.4rem solid black;
}

.arrow {
    position: absolute;
    top: -1rem;
    bottom: 0;
    height: 1.3rem;
    border-right: 0.4rem solid black;
    display: inline-block;
}

.right {
    left: 0.3rem;
    transform: rotate(-45deg);
}

.left {
    right: 0.3rem;
    transform: rotate(45deg);
}

.step-check {
    position: absolute;
    top: 20%;
    left: -35px;
}

/* end line arrow*/
.volunteer-virtual-label {
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    padding: 7px 3px 3px 25px !important;
    color: black !important;
}

/*begin type-of-volunteer*/
.type-of-volunteer label {
    width: 100%;
    height: 208px;
    padding: 0 20px;
    border: 1px solid #000000;
    border-radius: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 10px;
}

.type-of-volunteer label button {
    border: 1px solid #000000;
    width: 141px;
    margin: 5px 0;
    padding: 5px;
    font-size: 16px;
    line-height: 20px;
}
.type-of-volunteer label button:focus {
    outline: unset;
    box-shadow:unset;
}

.type-of-volunteer label p {
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 4px;
}
.type-of-volunteer label.active{
    background:#B0E0FF;
}
.type-of-volunteer label.active button{
    background:white;
    border-color:white;
}
.type-of-volunteer label::before,
.type-of-volunteer label::after {
    display: none;
}

/*end type-of-volunteer*/
/*begin is_email_shortlist*/
#is_email_shortlist_yes + label::after,
#is_email_shortlist_no + label::after,
#is_email_shortlist_yes  + label::before,
#is_email_shortlist_no  + label::before{
    display: none !important;
}

#is_email_shortlist_yes:checked + label,
#is_email_shortlist_no:checked + label{
    background: #549ac9;;
    color:white !important;
}

[for="is_email_shortlist_yes"],
[for="is_email_shortlist_no"]{
    border: 1px solid #549ac9;
    text-align: center;
    padding: 5px 20px !important;
    border-radius: 10px;
    margin-right: 10px;
}
/*end is_email_shortlist*/
/*  preview style */
.btn-top-edit{
    position: absolute;
    width: 180px;
    right: 26px;
    top: -36px;
}
.avatar {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto;
    border-radius: 20%;
    background: white;
    padding: 0;
    border-style: solid;
    border-color: #00568F;
    border-width: 14px 10px 10px 10px;
    object-fit: contain;
}
.preview-social-links label {
    max-width: 122px;
    margin: 10px 5px 0 8px;
    word-break: break-word;
}

.preview-social-item {
    max-width: 250px;
    text-align: center;
    margin: auto;
}

.preview-social-item a.col {
    padding: 0 !important;
}

@media (max-width: 500px) {
    .preview-social-links label {
        max-width: unset;
        margin: 0;
        padding: 10px 0 10px 28px;
        display: block;
        width: 100%;
    }

    .preview-social-links .row {
        position: relative;
    }

    .preview-social-links img {
        position: absolute;
        top: 5px;
    }
}

#map {
    width: 100%;
    height: 300px;
    border-radius: 25px;
}
.map-min{
    width: 200px !important;
    height: 200px !important;
}

.preview-province {
    max-width: 70px;
}

.preview-province select {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
}

.preview-description {
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    max-height: 220px;
    overflow-y: scroll;
    width: 100%;
    padding-right: 10px;
    overflow-x: hidden;
}

.preview-description::-webkit-scrollbar {
    width: 12px;
}

.preview-categories img {
    width: 49px;
    height: 49px;
    margin: 5px 5px 5px 0;
    float: left;
}

.preview-communities span {
    float: left;
    font-size: 16px;
    line-height: 20px;
    border: 1px solid black;
    border-radius: 10px;
    margin: 5px 10px 10px 0;
    padding: 4px 8px;
}

.preview-org-name {
    font-weight: 500;
    font-size: 24px;
}
.opp-status-row{
    font-weight: normal;
    font-size: 18px;
    line-height: 14px;
    padding: 5px;
    border-radius: 8px 8px 0px 0px;
}
.opp-status-row img {
    width: 24px;
    height: 24px;
}
.preview-availability
.multi-list-box-title {
    padding: 5px;
    padding-right: 20px;
}
.preview-availability img {
    right: 2px!important;
}
.preview-opp-name {
    font-weight: bold;
    font-size: 25px;
    line-height: 25px;
}
.shift-date{
    font-weight: 400;
    font-size: 16px;
    padding: 7px 15px;
    border: 1px solid gray;
    margin: 2px 5px 2px 0;
    border-radius: 8px;
    cursor: pointer;
    float: left;
    max-width: 225px;
    text-align: center;
}
.shift-date.selected{
    background: #B0E0FF;
}

.accordion .card-header {
    cursor: pointer;
}

.accordion .collapse.show {
    background: #f8f9fa;
}

.collapse {
    transition: height 0.4s ease-in-out;
    overflow: hidden;
}

.card-body {
    padding: 1rem;
}

.accordion .collapse {
    max-height: 70vh;
    /* Set maximum height relative to the viewport */
    overflow-y: auto;
    /* Allow scrolling for large content */
    transition: max-height 0.3s ease-in-out;
}

#languagesContainer {
    margin-left: 5px !important;
}

#languagesSection {
    border: 1px solid #ddd;
    /* Light gray border */
    padding: 15px;
    border-radius: 8px;
    margin-left: 20px;
    /* Added left margin */
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

/* Section Header Styling */
#languagesSection h5 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

/* Language Buttons Styling */
.language-btn {
    display: inline-block;
    padding: 6px 16px;
    /* Reduced height and longer width */
    margin: 5px;
    border: 1px solid #ddd;
    /* Border for each button */
    border-radius: 4px;
    /* Rounded corners */
    background-color: #fff;
    color: #333;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
    position: relative;
}

/* Remove checkbox visibility but keep for accessibility */
.language-btn input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.language-btn:hover {
    background-color: #007bff;
    /* Blue background on hover */
    color: #fff;
    /* White text on hover */
}

.language-btn.selected {
    background-color: #007bff;
    /* Blue background for selected state */
    color: #fff;
    /* White text for selected state */
    border-color: #007bff;
}

/* Adjust Select All and Clear All Buttons */
#select_all_languages,
#clear_all_languages {
    font-size: 0.8rem;
    /* Smaller font size */
    padding: 4px 20px;
    /* Shorter height and wider width */
    margin-right: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
}

#select_all_languages:hover,
#clear_all_languages:hover {
    background-color: #007bff;
    /* Blue hover effect */
    color: #fff;
    border-color: #007bff;
}

/* Common Section Styling */
.section-container {
    border: 1px solid #ddd;
    /* Light gray border */
    padding: 15px;
    border-radius: 8px;
    margin-left: 20px;
    /* Added left margin */
    margin-bottom: 20px;
    /* Space between sections */
    background-color: #f9f9f9;
    /* Light background */
}

/* Section Header Styling */
.section-container h5 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    /* Consistent font size */
    font-weight: 600;
    color: #333;
    /* Dark text color */
    border-bottom: 1px solid #ddd;
    /* Header underline */
    padding-bottom: 8px;
}

/* Activity and Age Buttons Styling */
.button-option {
    display: inline-block;
    padding: 6px 16px;
    /* Reduced height and longer width */
    margin: 5px;
    border: 1px solid #ddd;
    /* Border for each button */
    border-radius: 4px;
    /* Rounded corners */
    background-color: #fff;
    color: #333;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

/* Hover State for Buttons */
.button-option:hover {
    background-color: #007bff;
    /* Blue background on hover */
    color: #fff;
    /* White text on hover */
}

/* Selected State for Buttons */
.button-option.selected {
    background-color: #007bff;
    /* Blue background for selected state */
    color: #fff;
    /* White text for selected state */
    border-color: #007bff;
}

/* Adjust Select All and Clear All Buttons */
.select-clear-buttons {
    font-size: 0.8rem;
    /* Smaller font size */
    padding: 4px 20px;
    /* Shorter height and wider width */
    margin-right: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
}

.select-clear-buttons:hover {
    background-color: #007bff;
    /* Blue hover effect */
    color: #fff;
    border-color: #007bff;
}

.cause-tag-item {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 5px 10px;
}

.cause-tag-item .remove-tag-cause {
    margin-left: 8px;
    cursor: pointer;
    color: #ff0000;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tag-item .remove-tag {
    margin-left: 8px;
    cursor: pointer;
    color: #ff0000;
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
}

#locationSection .radio-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#locationSection .form-check {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

#locationSection .form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

#locationSection .form-check-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    text-align: left;
}

/* Radio button styles */
#locationSection .form-check-label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 15px;
    border: 2px solid #004080; /* Default border color */
    border-radius: 50%;
    background-color: white;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Checked state styles */
#locationSection .form-check-input:checked + .form-check-label::before {
    background-color: #004080; /* Circle color when selected */
    border-color: #004080;
}

/* Background colors */
#locationSection .virtual-label {
    background-color: #cce4ff; /* Light blue */
}

#locationSection .in-person-label,
#locationSection .on-site-label {
    background-color: #ccffcc; /* Light green */
}
.scrollable-panel {
    max-height: 300px;
    overflow-y: auto;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
}

.list-group-item .remove-requirement {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

button.btn-primary {
    box-shadow: 0px 4px 6px rgba(0, 123, 255, 0.4);
}

button.btn-primary:hover {
    box-shadow: 0px 5px 8px rgba(0, 123, 255, 0.6);
    transition: all 0.3s ease-in-out;
}

.list-group-item {
    padding: 10px 15px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    color: #333;
}

#volunteerTypeSection .form-check {
    display: inline-block;
    margin-right: 20px; /* Space between checkboxes */
}

#volunteerTypeSection .form-check:last-child {
    margin-right: 0;
}

.activity-tag-item {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;
}

.activity-tag-item .remove-tag-activity {
    margin-left: 8px;
    cursor: pointer;
    color: #ff0000;
}
.skill-tag{
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;

}
input:focus,
        button:focus,
        .form-control:focus {
            outline: none;
            box-shadow: none;
        }

        .form-control:disabled,
        .form-control[readonly] {
            background-color: #fff;
        }

      

/* Modal Header */
.modal-header {
    background-color: #00568F; /* Custom color */
    border-bottom: none;
    padding: 1rem 1.5rem;
    display: flex;
    padding-top: 15px !important;
    align-items: center;
    justify-content: center; /* Center the title */
}

.modal-header .modal-title {
    font-weight: bold;
    color: #fff; /* Make the title white */
    margin: 0 auto;
}

.modal-header .close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.5rem;
    opacity: 0.8;
    color: #fff;
}

.modal-header .close:hover {
    opacity: 1;
}

/* Modal Body */
.modal-body {
    padding: 1.5rem;
    background-color: #f9f9f9;
}

/* Input Fields */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: box-shadow 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #00568F;
    box-shadow: 0 0 5px rgba(0, 86, 143, 0.5);
}

/* Modal Footer */
.modal-footer {
    border-top: none;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.modal-footer .btn {
    min-width: 100px;
}

  .remove-tag-inline {
            background: none;
            border: none;
            color: #6c757d;
            font-size: 14px;
            margin-left: 8px;
            cursor: pointer;
            transition: color 0.3s;
        }

        .remove-tag-inline:hover {
            color: #ff4c4c; /* Highlight color on hover */
        }



        /*----------step-wizard------------*/
        .d-flex {
            display: flex;
        }

        .justify-content-center {
            justify-content: center;
        }

        .align-items-center {
            align-items: center;
        }

        /*---------signup-step-------------*/
        .bg-color {
            background-color: #333;
        }

        .signup-step-container {
            padding: 150px 0px;
            padding-bottom: 60px;
        }




        .wizard .nav-tabs {
            position: relative;
            margin-bottom: 0;
            border-bottom-color: transparent;
        }

        .wizard>div.wizard-inner {
            position: relative;
            margin-bottom: 50px;
            text-align: center;
        }

        .connecting-line {
            height: 2px;
            background: #e0e0e0;
            position: absolute;
            width: 80%;
            margin: 0 auto;
            left: 0;
            right: 0;
            top: 15px;
            z-index: 1;
        }

        .wizard .nav-tabs>li.active>a,
        .wizard .nav-tabs>li.active>a:hover,
        .wizard .nav-tabs>li.active>a:focus {
            color: #555555;
            cursor: default;
            border: 0;
            border-bottom-color: transparent;
        }

        span.round-tab {
            width: 30px;
            height: 30px;
            line-height: 30px;
            display: inline-block;
            border-radius: 50%;
            background: #fff;
            z-index: 2;
            position: absolute;
            left: 0;
            text-align: center;
            font-size: 16px;
            color: #0e214b;
            font-weight: 500;
            border: 1px solid #ddd;
        }

        span.round-tab i {
            color: #555555;
        }

        .wizard li.active span.round-tab {
            background: #00568F;
            color: #fff;
            border-color: #00568F;
        }

        .wizard li.active span.round-tab i {
            color: #5bc0de;
        }

        .wizard .nav-tabs>li.active>a i {
            color: #00568F;
        }

        .wizard .nav-tabs>li {
            width: 20%;
        }

        .wizard li:after {
            content: " ";
            position: absolute;
            left: 46%;
            opacity: 0;
            margin: 0 auto;
            bottom: 0px;
            border: 5px solid transparent;
            border-bottom-color: red;
            transition: 0.1s ease-in-out;
        }



        .wizard .nav-tabs>li a {
            width: 30px;
            height: 30px;
            margin: 20px auto;
            border-radius: 100%;
            padding: 0;
            background-color: transparent;
            position: relative;
            top: 0;
        }

        .wizard .nav-tabs>li a i {
            position: absolute;
            top: -15px;
            font-style: normal;
            font-weight: 400;
            white-space: nowrap;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 12px;
            font-weight: 700;
            color: #000;
        }

        .wizard .nav-tabs>li a:hover {
            background: transparent;
        }

        .wizard .tab-pane {
            position: relative;
            padding-top: 20px;
        }


        .wizard h3 {
            margin-top: 0;
        }

        .prev-step,
        .next-step {
            font-size: 13px;
            padding: 8px 24px;
            border: none;
            border-radius: 4px;
            margin-top: 30px;
        }

        .next-step {
            background-color: #00568F;
        }

        .skip-btn {
            background-color: #cec12d;
        }

        .step-head {
            font-size: 20px;
            text-align: center;
            font-weight: 500;
            margin-bottom: 20px;
        }

        .term-check {
            font-size: 14px;
            font-weight: 400;
        }

        .custom-file {
            position: relative;
            display: inline-block;
            width: 100%;
            height: 40px;
            margin-bottom: 0;
        }

        .custom-file-input {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 40px;
            margin: 0;
            opacity: 0;
        }

        .custom-file-label {
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            z-index: 1;
            height: 40px;
            padding: .375rem .75rem;
            font-weight: 400;
            line-height: 2;
            color: #495057;
            background-color: #fff;
            border: 1px solid #ced4da;
            border-radius: .25rem;
        }

        .custom-file-label::after {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            z-index: 3;
            display: block;
            height: 38px;
            padding: .375rem .75rem;
            line-height: 2;
            color: #495057;
            content: "Browse";
            background-color: #e9ecef;
            border-left: inherit;
            border-radius: 0 .25rem .25rem 0;
        }

        .footer-link {
            margin-top: 30px;
        }

        .all-info-container {}

        .list-content {
            margin-bottom: 10px;
        }

        .list-content a {
            padding: 10px 15px;
            width: 100%;
            display: inline-block;
            background-color: #f5f5f5;
            position: relative;
            color: #565656;
            font-weight: 400;
            border-radius: 4px;
        }

        .list-content a[aria-expanded="true"] i {
            transform: rotate(180deg);
        }

        .list-content a i {
            text-align: right;
            position: absolute;
            top: 15px;
            right: 10px;
            transition: 0.5s;
        }

        .form-control[disabled],
        .form-control[readonly],
        fieldset[disabled] .form-control {
            background-color: #fdfdfd;
        }

        .list-box {
            padding: 10px;
        }

        .signup-logo-header .logo_area {
            width: 200px;
        }

        .signup-logo-header .nav>li {
            padding: 0;
        }

        .signup-logo-header .header-flex {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .list-inline li {
            display: inline-block;
        }

        .pull-right {
            float: right;
        }

        /*-----------custom-checkbox-----------*/
        /*----------Custom-Checkbox---------*/
        input[type="checkbox"] {
            position: relative;
            display: inline-block;
            margin-right: 5px;
        }

        input[type="checkbox"]::before,
        input[type="checkbox"]::after {
            position: absolute;
            content: "";
            display: inline-block;
        }

        input[type="checkbox"]::before {
            height: 16px;
            width: 16px;
            border: 1px solid #999;
            left: 0px;
            top: 0px;
            background-color: #fff;
            border-radius: 2px;
        }

        input[type="checkbox"]::after {
            height: 5px;
            width: 9px;
            left: 4px;
            top: 4px;
        }

        input[type="checkbox"]:checked::after {
            content: "";
            border-left: 1px solid #fff;
            border-bottom: 1px solid #fff;
            transform: rotate(-45deg);
        }

        input[type="checkbox"]:checked::before {
            background-color: #004a7e;
            border-color: #004a7e;
        }


        p {
            font-size: 15px !important;
            line-height: 1.7 !important;
            margin: 0px !important;
        }




        @media (max-width: 767px) {
            .sign-content h3 {
                font-size: 40px;
            }

            .wizard .nav-tabs>li a i {
                display: none;
            }

            .signup-logo-header .navbar-toggle {
                margin: 0;
                margin-top: 8px;
            }

            .signup-logo-header .logo_area {
                margin-top: 0;
            }

            .signup-logo-header .header-flex {
                display: block;
            }
        }

        #opportunityForm {
            background: #F5F5F5;
        }






        .navbar-brand img {
            height: 50px;
        }

        .dropdown-menu {
            backdrop-filter: blur(10px);
            background-color: rgba(255, 255, 255, 0.8);
            box-shadow: 5px 5px 14px #0001;
        }

        .dropdown-item {
            color: #16181b;
            text-decoration: none;
            text-shadow: none !important;
            width: initial;
            font-size: 12px;
            font-weight: 500;
            border-bottom: 1px solid #eee;
            padding: 10px 20px;
        }

        .dropdown-item:hover {
            background-color: #fff5;
            color: #01558E !important;
        }

        .dropdown-item:last-of-type {
            border-bottom: none;
        }

        .searchicon {
            background-color: #01558E;
            background: #367CAB;
            color: white;
            border-radius: 100px 0 0 100px;
            text-transform: uppercase;
            font-size: 17px;
            display: flex;
            align-items: center;
            position: absolute;
            padding: 10px;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            transition: all .25s;
        }

        .searchicon:hover {
            right: -4px;
        }

        .searchicon svg {
            height: 20px;
            color: #fff;
        }

        /* Banner */
        .banner {
            /* background: url('../images/banner.png') no-repeat center bottom/cover; */
            padding: 20px 0;
        }

        .banner .page-title {
            color: #FFFFFF;
            font-weight: bold;
            font-size: 40px;
            margin: 7px 0px;
        }

        /* Panel */
        .menubtn {
            cursor: pointer;
        }

        #panelMenu li {
            list-style: none;
            margin-bottom: 16px;
        }

        #panelMenu li a {
            display: flex;
            align-items: center;
            color: #111;
            transition: all .25s linear;
        }

        #panelMenu li a:hover,
        #panelMenu.collapsed li.active a {
            color: #01558E;
        }

        #panelMenu li a .icon {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #panelMenu li a svg {
            height: 24px;
        }

        #panelMenu li a .text {
            font-weight: 500;
            font-size: 15px;
            margin-left: 8px;
        }

        #panelMenu li.active .text {
            font-weight: bold;
        }

        /* ---- Collapsed ----- */
        #panelMenu.collapsed li a .icon {
            height: 24px;
            width: 24px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #ddd;
            background-color: #eee5;
            border-radius: 50%;
        }

        #panelMenu.collapsed li a .icon svg {
            height: 22px;
        }

        [data-collapsemenu] {
            justify-content: end;
        }

        [data-collapsemenu].collapsed svg {
            transform: rotateY(180deg);
        }

        [data-collapsemenu].collapsed .text,
        #panelMenu.collapsed li a .text {
            display: none;
        }

        /* Accordion */
        #accordion .card:first-child .card-header button {
            border-radius: 20px 20px 0 0 !important;
        }

        #accordion .card:last-child .card-header button {
            border-radius: 0 0 20px 20px !important;
        }

        #accordion .card,
        #accordion .card-header {
            border-radius: 0;
            border: none;
            /* border-bottom: 1px solid #eee; */
        }

        #accordion .card-body {
            padding: 15px;
        }

        #accordion .card-body,
        #accordion .card-body button {
            border: 1px solid #aaa;
        }

        #accordion .card-body {
            border-top: none;
        }

        #accordion .card .card-header {
            padding: 0;
        }

        #accordion .card .card-header button {
            padding: 0;
            font-size: 28px;
            font-weight: 700;
            padding: 10px 24px;
            display: block;
            width: 100%;
            background: #fff;
            border-radius: 0;
            color: #00568f;
            text-decoration: none !important;
            border: 1px solid #aaa;
            border-collapse: collapse;
            text-align: left;
            word-wrap: break-word;
            word-break: break-all;
            text-wrap: wrap;
            hyphens: auto;
        }

        #accordion .card .card-header button[aria-expanded="true"] {
            background-color: #00568f;
            color: #fff;
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }

        .mybox {
            border: 1px solid #111;
            border-radius: 20px;
            height: 100%;
        }

        .bg-blue {
            background: #d0e4ff;
        }

        .mybox .btn {
            border-radius: 6px;
            border: 1px solid #111 !important;
        }

        .mybox img {
            border-radius: 12px;
        }

        .btn-light-theme {
            border: none !important;
            background-color: transparent;
            color: #000;
        }

        .btn-light-theme,
        .btn-theme {
            padding: 8px 22px;
            font-weight: 500;
            border-radius: 100px;
        }

        .btn-light-theme:hover {
            background-color: #ddd;
        }

        .btn-theme {
            border: none !important;
            color: #fff;
            background-color: #00568f;
        }

        .btn-theme:hover {
            background-color: #004472;
        }

        /* Footer */

        .checkBoxContainer {
            display: flex;
            width: 250px;
            align-items: baseline;
        }

        .footer-container {
            background-color: #494949;
        }

        .icons {
            display: flex;
            height: 20px;


        }

        .socilIcons {
            display: flex;
            justify-content: space-evenly;
        }

        .foot-list a,
        .checkbox {
            color: white;
        }

        .footInput {
            background-color: #dad2d2;


        }

        .btn-custom {
            background-color: #3376A3;
            font-size: 17px;
            font-weight: 700;
            letter-spacing: 0.20px;
        }

        .btn-custom:hover {
            background-color: #55a0d2;
        }

        .foot-list li {
            display: block;
            font-weight: 400;
            font-size: 14px;
            letter-spacing: 0.5px;
            line-height: 1.4;
            margin-bottom: 6.5px;
            padding-right: 20px;
            margin-bottom: 14px;
        }

        .foot-list li a:hover {
            text-decoration: underline;
            text-shadow: 1px 0 #fff;
        }

        footer h5 {
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.74px;
            line-height: 1.4;
            text-transform: uppercase;
            margin-bottom: 13px;
            color: white;
        }

        .copyright {
            font-size: 13px;
            letter-spacing: 1px;
        }

        .copyright a {
            color: #000;
        }

        .sociallinks a {
            height: 38px;
            width: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #929191;
            border-radius: 50%;
            margin-right: 25px;
            transition: all .2s linear;
        }

        .sociallinks a:hover {
            background-color: #bbb;
        }

        .sociallinks .list-inline {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
        }

        .sociallinks a img {
            height: 18px;
        }

        .ongoing-box,
        .event-box {
            min-height: 200px;
        }

        .form-control {
            border: #1E1E1E solid 1px;
        }

        .card-body h4 {
            font-size: 1.3rem;
        }

        .form-control {
            min-height: 52px;
        }

        .upload-container {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .upload-btn {
            overflow: hidden;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin: 0;
            position: relative;
            top: 6px;
            left: 4px;
        }

        .upload-btn input[type=file] {
            position: absolute;
            font-size: 100px;
            opacity: 0;
            right: 0;
            top: 0;
        }

        .upload-icon {
            position: absolute;
            right: 14px;
            top: 13px;
        }

        .form-label {
            font-weight: 500;
        }

        .small-text {
            font-size: 12px;
        }

        .radio-container {
            display: flex;
            flex-direction: column;
            margin-top: 50px;
        }

        .radio-btn {
            margin-bottom: 10px;
        }

        .radio-btn input[type=radio] {
            display: none;
        }

        .radio-btn label {
            display: block;
            padding: 10px 20px;
            border-radius: 2px;
            cursor: pointer;
            background-color: #B0FFB8;
            /* Default background color */
        }

        .radio-btn input[type=radio]:checked+label {
            background-color: #B0D9FF;
            /* Background color when selected */
        }

        .radio-btn label {
            position: relative;
            padding-left: 35px;
            font-weight: 600;
        }

        .radio-btn label::after {
            position: absolute;
            content: "";
            width: 20px;
            height: 20px;
            border: #1E1E1E solid 2px;
            border-radius: 100%;
            left: 5px;
            top: 12px;
        }

        .white-box {
            border-radius: 20px;
        }

        .cause-icon {
            background: #569BCA;
            width: 48px;
            height: 48px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .cause-icon img {
            width: 24px;
        }

        .cause-icon-container {
            color: #00568F;
            font-size: 12px;
            width: 20%;
            text-align: center;
        }

        .btn-outline,
        .btn-outline:focus,
        .btn-outline:active,
        .btn-outline:visited,
        .btn-outline:hover {
            border-radius: 20px;
            border: #00568F solid 2px;
            color: #1E1E1E;
            font-weight: bold;
        }

        h4.text-primary {
            color: #00568F !important;
        }

        .border-black {
            border: #686868 solid 1px;
        }

        .cause-icon-container a,
        .cause-icon-container a:hover,
        .cause-icon-container a:focus,
        .cause-icon-container a:active,
        .cause-icon-container a:visited {
            color: #00568F;
        }

        .dropdown-toggle::after {
            background-image: url(../images/down-arrow.svg);
            width: 20px !important;
            height: 20px !important;
            border: 0 !important;
            background-repeat: no-repeat !important;
            background-size: contain;
            position: absolute;
            top: 13px;
            right: 12px;
        }

        .role-nav ul {
            list-style: none;
        }

        .role-nav ul li {
            font-size: 12px;
            line-height: 15px;
        }

        .role-nav ul a.active {
            color: #00568F;
        }

        button.text-primary {
            color: #00568F !important;
            border-radius: 20px;
        }

        .bg-blue {
            background: #00568F;
        }

        .custom-checkbox {
            position: relative;
            display: block;
            cursor: pointer;
        }

        .custom-checkbox input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        /* Design for the custom checkbox */
        .custom-checkbox span {
            display: inline-block;
            width: 24px;
            height: 24px;
            border: 2px solid #1E1E1E;
            border-radius: 50%;
            position: relative;
            background-color: white;
            transition: all 0.3s;
            top: 6px;
        }

        .hours-container {
            border: #1E1E1E solid 1px;
            border-radius: 5px;
            align-items: center;
        }

        .hours-box {
            border: #1E1E1E solid 1px;
            padding: 6px 12px;
            margin: 9px 10px 9px 0;
            border-radius: 5px;
        }

        /* Change appearance when checked */
        .custom-checkbox input[type="checkbox"]:checked+span {
            border-color: #1E1E1E;
            background-color: #00568F;
        }

        .tab-content .d-flex>* {
            flex: auto !important;
        }

        /* Tick icon when checked */
        .custom-checkbox input[type="checkbox"]:checked+span:before {
            content: '';
            background: url(../images/tick-checkbox.svg) no-repeat;
            width: 20px;
            height: 20px;
            font-weight: 900;
            font-size: 14px;
            color: white;
            position: absolute;
            top: 75%;
            left: 70%;
            transform: translate(-50%, -50%);
        }

        .contect-box {
            border-bottom: #8F8F8F solid 1px;
            padding-bottom: 20px;
        }

        .box-style-checkbox #div-5 span {
            border-radius: 0;
        }

        .form-select {
            padding: 9px;
            width: 100%;
            border-radius: 10px;
        }

        .preview-publish-block {
            border-radius: 15px;
        }

        .event-block {
            background: #B0FFB8;
            border-radius: 10px 10px 0 0;
        }

        .share-icon,
        .like-icon {
            color: #1E1E1E;
        }

        .like-icon {
            position: relative;
            /* top: 10px; */
        }

        .share-icon {
            position: relative;
            /* top: 10px; */
            margin: 0 15px;
        }

        .volunteer-box ul li.green-clock svg {
            color: #207C37;
        }

        .volunteer-box ul li.red-block svg {
            color: #B01E1E;
        }

        .see-detail {
            position: relative;
        }

        .see-detail-block {
            box-shadow: rgba(0, 0, 0, 0.2) 2px 5px 10px;
            position: absolute;
            min-width: 500px;
            right: 0;
            top: 20px;
            border-radius: 20px;
            z-index: 111;
        }

        .tag {
            border: #1E1E1E solid 1px;
            text-align: center;
            font-size: 16px;
            line-height: 20px;
            border-radius: 20px;
        }

        .see-detail:hover .see-detail-block {
            display: block;
        }

        .see-detail-block {
            display: none;
        }

        .volunteer-box ul li {
            display: flex;
            justify-items: center;
            align-items: center;
        }

        .volunteer-box ul li svg {
            margin: 0 5px;
        }

        /* Tile Container */
.tile-container {
    display: flex;
    gap: 30px; /* Adjusted spacing between tiles */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Ensure tiles wrap properly on smaller screens */
}

/* Tile Styling */
.tile {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tile-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 200px;
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Style the Select2 container */
.select2-container--default .select2-selection--multiple {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    height: 40px; /* Set height */
    display: flex;
    align-items: center;
    padding: 0 8px; /* Adjust padding */
    overflow: hidden; /* Prevent overflow issues */
}

/* Adjust the appearance of selected tags inside Select2 */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100%; /* Full height to match parent */
    gap: 5px;
    overflow-y: auto;
    padding: 0;
}

/* Style for individual selected tags */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 14px;
    margin: 2px 0;
    color: #495057;
    display: flex;
    align-items: center;
}

/* Adjust close button inside tags */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #6c757d;
    margin-right: 5px;
    cursor: pointer;
}

/* Adjust the search input inside Select2 */
.select2-container--default .select2-selection--multiple .select2-search__field {
    height: 100%; /* Match height of container */
    font-size: 14px;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    line-height: 1.5;
}

/* Dropdown width and alignment */
.select2-container {
    width: 100% !important; /* Match full width */
}

.select2-container--open .select2-dropdown--below {
    margin-top: 4px;
}


/* Hover Effects */
.tile-label:hover {
    border-color: #00568F;
    background-color: #e8f4fc;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 86, 143, 0.2);
}

/* Selected State */
.tile input:checked + .tile-label {
    border-color: #00568F;
    background-color: #d9efff;
    box-shadow: 0 6px 20px rgba(0, 86, 143, 0.4);
    transform: scale(1.05);
}

/* Typography for Tiles */
.tile-label h6 {
    font-size: 18px;
    font-weight: bold;
    color: #00568F;
    margin-bottom: 10px;
}

.tile-label p {
    font-size: 14px;
    color: #6c757d;
}

/* Button Styling */
.btn-primary {
    background-color: #00568F;
    border-color: #00568F;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #003e6b;
    border-color: #003e6b;
    transform: translateY(-3px);
}




        .text-right .btn-blue:hover {
            background-color: #0056b3;
        }


        /* Responsive */
        @media (min-width: 1200px) {
            header a {
                text-align: center;
            }

            .navbar-brand img {
                height: 50px;
                transform: scale(2.2) translateY(-16%);
            }
        }

        @media (min-width: 1200px) and (max-width: 1400px) {
            header a {
                font-size: 14px;
                margin: 0 6px;
            }

            header .top-header a {
                font-size: 12px;
                margin: 0 9px;
            }
        }

        @media (min-width: 1400px) {
            header a {
                text-align: center;
            }

            .container {
                max-width: 1320px !important;
            }
        }

        @media (min-width: 1650px) {
            .container {
                max-width: 1544px !important;
            }
        }

        @media (max-width:992px) {
            .banner .page-title {
                font-size: 32px;
            }

            #accordion .card .card-header button {
                font-size: 18px;
            }

            #panelMenu {
                display: flex;
                flex-wrap: wrap;
                gap: 5px 50px;
            }

            .navbar-brand img {
                height: 80px;
            }
        }

        /* Fix Location of Opportunity radio buttons for small screens */
@media (max-width: 520px) {
    #locationSection .radio-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    #locationSection .form-check {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 50px;
    }

    #locationSection .form-check-input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
        pointer-events: none;
    }

    #locationSection .form-check-label {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 15px;
        font-size: 15px;
        font-weight: bold;
        border-radius: 10px;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
        width: 100%;
        text-align: left;
        word-break: break-word;
        line-height: 1.4;
    }

    /* Radio button circle */
    #locationSection .form-check-label::before {
        content: "";
        display: inline-block;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        margin-right: 12px;
        flex-shrink: 0;
        border: 2px solid #004080;
        border-radius: 50%;
        background-color: white;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    /* Checked state styles */
    #locationSection .form-check-input:checked + .form-check-label::before {
        background-color: #004080;
        border-color: #004080;
    }

    /* Background colors */
    #locationSection .virtual-label {
        background-color: #cce4ff;
    }

    #locationSection .in-person-label,
    #locationSection .on-site-label {
        background-color: #ccffcc;
    }
}

/* For very small screens */
@media (max-width: 400px) {
    #locationSection .form-check-label {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    #locationSection .form-check-label::before {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        margin-right: 10px;
    }
}

/* Fix Step 2 buttons for mobile (under 520px) */
@media (max-width: 520px) {
    /* Container for buttons */
    .mx-4 {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: 15px !important;
        margin-right: 15px !important;
        padding: 10px 0;
    }

    /* All buttons full width on mobile */
    .mx-4 .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
        margin: 0 !important;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Pull-right section (Save as Draft and Cancel) */
    .mx-4 .pull-right {
        width: 100%;
        float: none !important;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    /* Button order for better UX on mobile */
    .btn.prev-step {
        order: 1;
    }

    .btn.next-step {
        order: 2;
    }

    .pull-right {
        order: 3;
    }

    /* Specific button styles */
    .btn-gray {
        background-color: #6c757d;
        color: white;
        border: none;
    }

    .btn-blue {
        background-color: #00568F !important;
        color: white;
        border: none;
    }

    .btn-outline-secondary {
        border: 2px solid #6c757d;
        color: #6c757d;
        background-color: white;
    }

    .btn-outline-danger {
        border: 2px solid #dc3545;
        color: #dc3545;
        background-color: white;
    }
}

/* For very small screens */
@media (max-width: 400px) {
    .mx-4 .btn {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* Force tags to be visible with important flags */
.cause-tag-item,
.tag-item,
.activity-tag-item,
.skill-tag {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cause-tag-item p,
.tag-item p,
.activity-tag-item p,
.skill-tag p {
    display: inline !important;
    visibility: visible !important;
}

/* Ensure containers are visible */
#cause_tag,
#tagsList,
#activity_tags,
#selectedSkillsTags {
    display: flex !important;
    visibility: visible !important;
    min-height: 20px;
}

/* Debug styles - remove after testing */
#cause_tag:empty::after {
    content: 'No causes selected';
    color: #999;
    font-style: italic;
}

#tagsList:empty::after {
    content: 'No tags added';
    color: #999;
    font-style: italic;
}

/* Fix Select2 dropdown width issues on mobile/iOS */
.select2-container {
    max-width: 100% !important;
    width: 100% !important;
}

.select2-container .select2-selection {
    max-width: 100% !important;
}

.select2-dropdown {
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box;
}

.select2-results {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.select2-results__options {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.select2-results__option {
    max-width: 100% !important;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

/* Fix for Select2 search input on mobile */
.select2-search__field {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Prevent Select2 from expanding beyond viewport */
.select2-container--open {
    max-width: 100vw !important;
}

/* Fix for the Select2 dropdown positioning on mobile */
@media (max-width: 768px) {
    .select2-dropdown {
        left: 0 !important;
        right: 0 !important;
        max-width: calc(100vw - 20px) !important;
        margin: 0 10px;
    }
    
    .select2-container--default .select2-results__option {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .select2-results__option {
        white-space: normal !important;
        line-height: 1.4;
    }
}

/* Specific fix for iOS devices */
@supports (-webkit-touch-callout: none) {
    /* iOS-specific styles */
    .select2-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .select2-dropdown {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        position: fixed !important;
        max-width: calc(100vw - 30px) !important;
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
    }
    
    .select2-search__field {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Fix the parent containers to prevent overflow */
.section-container .col-5 {
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .section-container .col-5 {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Ensure Select2 container doesn't break responsive layout */
#cause,
#tags_section,
#activity,
#skillsMultiSelect {
    max-width: 100% !important;
    width: 100% !important;
}

/* Fix for very small screens and iOS */
@media (max-width: 480px) {
    .select2-dropdown {
        font-size: 14px;
        max-width: calc(100vw - 20px) !important;
    }
    
    .select2-results__option {
        padding: 8px 6px;
    }
}