/* Form Container */
.rbt-display-form {
    width: 100%;
    max-width: 600px;
    border: 1px solid #ddd;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rbt-display-form.empty {
    visibility: hidden;
}

/* Control Rows */
.control-row {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    color: #555;
}

.control-row select:focus,
.control-row input:focus,
.control-row select:active,
.control-row input:active {
    outline: none;
    box-shadow: none;
}

.archive-form .control-row {
    justify-content: center;
}

.archive-form .control-row label.carat {
    max-width: 100%;
    width: 300px;
    flex: unset;
}

/* Search Page */
.archive-search .featured-posts .post-card.row {
    background-color: white;
}

.control-row input[type="search"],
.control-row input[type="search"]:focus,
.control-row input[type="search"]:active {
    border: none;
    box-shadow: none;
    width: 100%;
    text-align: right;
}

/* Inline Search Bar */
.control-row .inline-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid #E9EAEA;
    border-radius: 4px;
    background-color: #fff;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s;
}

.archive-header .inline-search img.nav-search-icon {
    height: 20px;
    width: 20px;
    margin: 0 12px 0 0;
    cursor: pointer;
    background-color: white;
}


.control-col {
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s;
}

.control-col h4 {
    color: #555;
    font-size: 17px;
    font-weight: lighter;
    line-height: 1.33;
    margin-bottom: 5px;
}

.invislist {
    display: none;
}

.vislist {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    padding: 12px 0;
}

.vislist li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.vislist input[type="checkbox"] {
    visibility: hidden;
    width: 0;
}

/* Password Protection form */
.post-password-form {
    padding: 4%;
}

.post-password-form input[type="password"] {
    width: 175px;
    padding: 8px 12px;
    margin: 8px 0;
    border: 1px solid #E9EAEA;
    border-radius: 4px;
    box-sizing: border-box;
}

.post-password-form label {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-right: 10px;
}

.post-password-form input[type="submit"] {
    background-color: #8ac53f;
    border-width: 0;
    color: #fff;
    width: fit-content;
    font-size: 16px;
    line-height: inherit;
    padding: 4px 14px;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Selects */
label.carat {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: inherit;
    flex: 1;
    padding: 0 24px 0 0;
    border: 1px solid #E9EAEA;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 95% center;
    background-size: 12px 12px;
    max-width: 120px;
    min-width: 90px;
    height: 42px;
}

label.carat select {
    padding: 8px 0 8px 12px;
    appearance: none;
    font-size: 16px;
    border: none;
    background-color: transparent;
    width: 100%;
    text-align: center;
    color: inherit;
}

.form-collapse-button {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: black;
    padding: 8px 12px;
    border-radius: 4px;
    height: 42px;
}

.form-collapse-button .icon {
    width: 14px;
    height: 14px;
    display: block;
}

.form-collapse-button .icon svg {
    max-width: 100%;
    max-height: 100%;
    fill: currentColor;
    display: block;

}

select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.searchbox input {
    font-size: 14px;
    border: 1px solid #E9EAEA;
    border-radius: 4px;
    background-color: #fff;
    padding: 8px 12px;
}

/* Layout */
.interest-panel h5 {
    margin-bottom: 1rem;
}

.interest-tab .tabcontrols {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: fit-content;
    margin-bottom: 30px;
    height: 2.5rem;
}

.interest-tab .tabcontrols li {
    background-color: transparent;
    padding: 2px 10px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
}

.interest-tab .tabcontrols li.active {
    color: var(--wp--preset--color--black);
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    top: 0;
    left: 0;
    position: relative;
    height: 2.5rem;

}

.interest-panel {
    padding: 0;
    margin: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e2e2;
}

.interest-panel>li {
    display: none;
    padding: 1rem;
}

.interest-panel li.active {
    display: block;
}

/* Interest List */
.interest-list {
    list-style: none;
    padding: 0;
    margin: 14px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 4px;
}

.interest-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1rem;
    gap: 8px;
}

.interest-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1rem;
}

.interest-list li span.interest-icon {
    width: 22px;
    color: inherit;
}

/* Entry Index */
.rbt-query .entry {
    width: 100%;
    max-width: 600px;
    border: 1px solid #ddd;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rbt-query .entry .entry-header {
    display: block;
    width: 100%;
}

.rbt-query .entry .entry-header .entry-meta {
    display: flex;
    gap: 1rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 1rem 1.5rem;
    font-size: 14px;
}

.rbt-query .entry .entry-header .entry-meta .entry-state,
.rbt-query .entry .entry-header .entry-meta .entry-industries,
.rbt-query .entry .entry-header .entry-meta .entry-compensation,
.rbt-query .entry .entry-header .entry-meta .entry-compensation .compensation {
    display: flex;
    gap: 8px;
    align-items: center;
}

.rbt-query .entry .entry-header .entry-meta .entry-compensation .compensation-left,
.rbt-query .entry .entry-header .entry-meta .entry-compensation .compensation-right {
    display: flex;
    gap: 8px;
    line-height: 24px;
}

.rbt-query .entry .entry-header .entry-meta img {
    width: 24px;
    height: 24px;
}

.rbt-query .viewmore-icon {
    width: 12px;
    height: 12px;
    display: block;
    fill: var(--wp--preset--color--blue-light);
}

/* Content */
.rbt-query-form-wrap {
    width: 100%;
}

.rbt-query .entry .entry-item-content .expander,
.rbt-query .item .entry-item-content .expander {
    display: none;
}

.rbt-query .entry .entry-item-content .expander.active,
.rbt-query .item .entry-item-content .expander.active {
    display: block;
}

.rbt-query .entry .entry-item-content .expander-content,
.rbt-query .item .entry-item-content .expander-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rbt-query .entry .entry-item-content .button.seemore,
.rbt-query .item .entry-item-content .button.seemore {
    align-items: center;
    color: var(--wp--preset--color--blue-light);
    display: inline-flex;
    gap: 7px;
    padding-left: 10px;
    margin-bottom: 0;
    height: 12px;
    line-height: 12px;
    font-size: 14px;
    cursor: pointer;
}

.rbt-query .entry .entry-footer .apply {
    display: flex;
    justify-content: flex-end;
}

.rbt-query .entry .entry-footer .apply a.apply-link {
    color: white;
    font-size: 17px;
    line-height: 1.2;
    background-color: var(--wp--preset--color--primary-light);
    padding: .75rem 1rem;
    border-radius: 4px;
    text-decoration: none;
}

.rbt-query .entry .entry-item-content .viewmore-icon {
    width: 12px;
    height: 12px;
}

.rbt-query .entry .entry-item-content .viewmore-icon svg {
    width: 12px;
    height: 12px;
    display: block;
    fill: var(--wp--preset--color--blue-light);
    stroke: white;
}


/* Labels */
label.interest-pill,
.industry-pill {
    padding: 4px 6px;
    font-size: 14px;
    border: 1px solid #E9EAEA;
    border-radius: 500px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

label.interest-pill:hover {
    background-color: #f1f1f1;
    border-color: #ccc;
}

label.interest-pill:active {
    background-color: #e9e9e9;
    border-color: #bbb;
}

input[type="checkbox"]:checked+.interest-pill {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Footer */
@media screen and (min-width:601px) {
    .desktop-inactive>a {
        pointer-events: none;
    }
}

/* Sidebar */
.post-sidebar {
    margin-top: 28px;
    padding: 10px;
}

.post-sidebar .rbt-query .card {
    border: none;
    border-top: 1px solid #e2e2e2;
    max-width: 170px;
    margin: 0 auto;
}

.post-sidebar .rbt-query .card .card-footer {
    border: none;
    flex-direction: column;
}

.post-sidebar .rbt-query .card .card-footer .apply-link {
    padding: 4px 12px;
    color: white;
    background-color: #221;
    border-color: #221;
}

.post-sidebar .rbt-query .card .card-header {
    flex-direction: column;
}

.post-sidebar .rbt-query .card .card-country span {
    display: none;
}

.post-sidebar .rbt-query .card .card-header .card-info .card-country {
    align-items: center;
    display: flex;
    gap: 10px;
    width: fit-content;
}

.post-sidebar .rbt-query .card .card-header .card-info .card-header-row {
    font-size: .9rem;
    gap: 20px;
    justify-content: center;
}

.post-sidebar .rbt-query .card .card-header .card-info .card-program {
    margin-top: 8px;
    text-align: center;
}

.post-sidebar .rbt-query .card .card-header .card-info h3 {
    text-align: center;
}

@media screen and (max-width:991px) {
    .post-sidebar {
        display: none;
    }
}

/* Incomplete Form Nag */
.incomplete-form-nag-footer {
    background-color: #f9f9f9;
    background-image: radial-gradient(#f1f1f1, #f9f9f9);
}

.incomplete-form-nag-footer .layout {
    display: flex;
    padding: 20px 4vw 0;
    gap: clamp(20px, 2.78vw, 40px);
}

.incomplete-form-nag-footer .layout .form-title {
    color: #8ac53f;

}

.incomplete-form-nag-footer .layout h2 {
    font-size: clamp(20px, 2.5vw, 36px)
}

.incomplete-form-nag-footer .layout p {
    font-size: clamp(12px, 1.1vw, 17px)
}

.incomplete-form-nag-footer .no-reminders {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    gap: 12px;
    font-size: clamp(10px, .8vw, 12px);
    align-items: center;
    cursor: pointer;
}

.incomplete-form-nag-footer .no-reminders img {
    width: 12px;
}

.incomplete-form-nag-footer .layout .left img {
    border-radius: 16px;
    transform: translateY(-45px) rotate(-3deg);
    width: 200px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, .2);
}

.incomplete-form-nag-footer .layout .right .button-primary {
    display: block;
    width: fit-content;
    margin-top: 12px;
}

/* Footer */
.control-row.footer {
    border-top: 1px solid #ddd;
    margin: 0;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
}

.control-row.footer .clear-filters .button {
    color: white;
    background: var(--wp--preset--color--black);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    gap: 8px;
    align-items: center;
    display: none;
}

.control-row.footer .clear-filters .button.active {
    display: flex;
}

.control-row.footer .clear-filters .button .icon {
    width: 15px;
    height: 15px;
}

.control-row.footer .clear-filters .button .icon svg {
    max-width: 100%;
    max-height: 100%;
    display: block;
}