/*
Theme Name:   WorkScout Child
Theme URI: http://workscout.in
Author: Purethemes
Author URI: http://themeforest.net/user/purethemes
Description: WordPress Job Theme
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: workscout
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template:  workscout
*/
.new-header #logo_nh {
    display: flex;
}

#titlebar h2 span {
    color: #888;
    font-size: 24px;
    line-height: 36px;
    top: 0;
}

.custom-card:hover .elementor-icon,
.custom-card:hover .cart-title h2 {
    color: #fff !important;
    transition: all 0.3;
}

.container-link {
    position: relative;
    overflow: hidden;
}

.container-link .full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

#logo_nh img {
    object-fit: contain;
}

.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link {
    background-color: var(--e-global-color-accent);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 5px 5px 5px 5px;
    width: 100%;
    border-color: #5AB9E3;

}

.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link strong {
    color: #fff;
}

.wp-block-buttons>.wp-block-button:hover .wp-element-button {
    background-color: #fff !important;

}

.wp-block-buttons>.wp-block-button:hover .wp-block-button__link strong {
    color: #5AB9E3 !important;
}

/* Sidebar */

.sidebar-toggle {
    display: none;
    background-color: #007cba;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.sidebar-toggle:hover {
    background-color: #005a87;
}

.sidebar-toggle::after {
    content: "▼";
    position: absolute;
    right: 15px;
    transition: transform 0.3s ease;
}

.sidebar-toggle.active::after {
    transform: rotate(180deg);
}

.sidebar {
    transition: all 0.3s ease;
}

.job_info {
    font-size: 16px;
}

.job_info b {
    font-weight: 500;
}

.company-info-boxed {
    margin-top: 0;
}

#category-buttons .filter_btn {
    display: inline-block;

    margin: 0 7px 7px 0;
    background-color: #e8e8e8;
    color: #777;
    display: inline-block;
    padding: 4px 12px;
}

#category-buttons .filter_btn.active {
    color: #fff;
    background-color: #5AB9E3;
}

#category-buttons .filter_btn:before {
    font-family: "Feather-Icons";
    content: "\e92b";
    font-size: 18px;
    transition: all 0.35s cubic-bezier(0.5, -0.41, 0.19, 2), max-width 0.3s, margin 0.3s;
    max-width: 0;
    display: inline-block;
    position: relative;
    top: 3px;
    margin: 0;
    opacity: 0;
    color: #fff;
    line-height: 0;
    transform: scale(0.5);
}

#category-buttons .active.filter_btn:before {
    max-width: 30px;
    opacity: 1;
    transform: scale(1);
    margin: 0 5px 0 -2px;
}


@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }

    .sidebar {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .sidebar.show {
        max-height: 100%;
        opacity: 1;
    }

    .sidebar .widget {
        margin-bottom: 20px;
    }

    .sidebar .widget h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .sidebar input[type="text"] {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    #respond input {
        width: 100%;
    }

    .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .single-post .container {
        overflow: hidden;
    }

    .comment-form-cookies-consent {
        display: flex;
        align-items: center;
    }

    input#wp-comment-cookies-consent {
        margin-right: 10px;
        width: 34px;
    }

    .page-id-526 .margin-top-45 {
        display: none;
    }
}

.tasks-list-container.tasks-grid-layout .task-listing-bid-inner {
    justify-content: flex-end;
}

.contact_form_wrap {
    color: #2F2F2F;
    /* padding: 45px 45px 65px; */
    background-color: #fff;
    border-radius: 16px;
    text-align: center
}


.contact_form_wrap h3 {
    text-align: center;
}

.contact_form_wrap p {
    font-size: 16px;
    font-weight: 400;
    line-height: 17.6px;
    letter-spacing: -1px
}

.contact_form_wrap form label {
    display: flex;
    align-items: center;
    padding: 0px 24px;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid #94B8D1;
    margin-bottom: 1rem
}

.contact_form_wrap form label img {
    max-width: 24px
}

.contact_form_wrap form input,
.contact_form_wrap form textarea {
    border: none;
    width: 100%;
    background: none;
    resize: none;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="phone"]:focus,
textarea:focus {
    outline: none;
    border: none;
}

.contact_form_wrap form textarea {
    min-height: 123px
}

.button.bttn,
.button_main.bttn {
    color: #fff;
    /* margin: 0px auto 48px; */
    transition: all 0.3s;
    border: 1px solid #fff;
    background-color: #5AB9E3;
    padding: 10px 20px;
}

.button_main.bttn {
    padding: 14px 20px;
}

.button.bttn:hover,
.button_main.bttn:hover {
    color: #5AB9E3;
    background-color: #fff;
    transition: all 0.3s;
    border: 1px solid #5AB9E3;
}

/* Chrome, Safari, Edge */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.single-task .sidebar-widget .task-tags {
    margin-top: 10px;
    margin-bottom: 15px;
}

.company-info-apply-btn {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.company-info-boxed .company-info span {
    font-size: 12px;
}

#titlebar .button {
    top: 37%;
}



@media screen and (max-width:575px) {
    #titlebar.titlebar-boxed-company-info {
        padding-bottom: 15px;
    }

    #titlebar h1,
    #titlebar h2 {
        margin-bottom: 30px;
    }

    .button_main.bttn,
    #titlebar.titlebar-boxed-company-info .bookmark-notice {
        display: block;
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
}

.wpcf7-form-control.wpcf7-radio {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

input[name="countrytext-57"] {
    pointer-events: none;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.wpcf7-checkbox.agree .wpcf7-list-item label {
    display: flex;
    border: none;
    background: transparent;
}

/* Contact Form 7 Custom Styles */
.page .wpcf7-form label span {
    color: #666;
}

.page .wpcf7-form textarea {
    min-height: 140px;
}

@media (max-width: 600px) {
    .page .wpcf7-form textarea {
        height: 70vh;
    }
}

.wpcf7-form,
.step2_form,
.step3_form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Label Styles */
.wpcf7-form label {
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.4;
}

/* Input Fields Base Style */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    margin-top: 6px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* Focus States */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #58b3d0;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

/* Country Select Specific */
.wpcf7-form .countrytext-57 {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1.5 4.5h9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
}

/* WhatsApp Number Specific */
.wpcf7-form .tel-400 {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2325d366' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 18px;
    padding-left: 40px !important;
}

/* Radio Button Container */
.wpcf7-form .radio-973 {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: wrap;
}

/* Completely hide default radio buttons */
.wpcf7-form input[type="radio"],
.wpcf7-form .wpcf7-checkbox:not(.agree) input[type="checkbox"] {
    display: none !important;
}

/* Style for CF7 radio structure - button style */
.wpcf7-form .wpcf7-list-item {
    margin: 0;
    display: block;
    padding: 0;
    background: none;
    border: none;
}

.wpcf7-form .wpcf7-list-item label {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.wpcf7-form .wpcf7-list-item label:hover {
    background: #e3f2fd;
    border-color: #58b3d0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.2);
}

/* Remove padding from label text */
.wpcf7-form .wpcf7-list-item-label {
    cursor: pointer;
    transition: color 0.3s ease;
    display: block;
}

/* Checked state - button style */
.wpcf7-form input[type="radio"]:checked+.wpcf7-list-item-label,
.wpcf7-form input[type="checkbox"]:checked+.wpcf7-list-item-label {
    color: white;
    font-weight: 300;
}

/* Style the parent label when radio is checked */
.wpcf7-form .wpcf7-list-item:has(input[type="radio"]:checked) label,
.wpcf7-form .wpcf7-list-item:has(input[type="checkbox"]:checked) label {
    border-color: #58b3d0;
    background: linear-gradient(135deg, #58b3d0 0%, #2980b9 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Active/click effect */
.wpcf7-form .wpcf7-list-item label:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

/* Ripple effect on click */
.wpcf7-form .wpcf7-list-item label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.wpcf7-form .wpcf7-list-item label:active::before {
    width: 100px;
    height: 100px;
}

.wpcf7-form .wpcf7-list-item-label {
    position: relative;
    z-index: 1;
}

/* File Upload */
.wpcf7-form input[type="file"] {
    width: 100%;
    padding: 16px;
    margin-top: 6px;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    background: #f7fafc;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wpcf7-form input[type="file"]:hover {
    border-color: #58b3d0;
    background: #e3f2fd;
}

/* Textarea */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    margin-top: 24px;
    background: linear-gradient(135deg, #58b3d0 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcf7-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Placeholder Styles */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #8fa8b8;
    opacity: 1;
}

/* Validation Messages */
.wpcf7-form .wpcf7-not-valid {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.wpcf7-form .wpcf7-validation-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    color: #dc2626;
    font-size: 14px;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    color: #16a34a;
    font-size: 14px;
}

/* Date Input */
.wpcf7-form input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    margin-top: 6px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-sizing: border-box;
    color: #2c3e50;
}

/* Focus state */
.wpcf7-form input[type="date"]:focus {
    outline: none;
    border-color: #58b3d0;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

/* Placeholder color for date fields */
.wpcf7-form input[type="date"]::placeholder {
    color: #8fa8b8;
    opacity: 1;
}

/* Calendar icon styling (Webkit browsers) */
.wpcf7-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(40%) sepia(60%) saturate(300%) hue-rotate(180deg);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.wpcf7-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.wpcf7-form textarea {
    height: 80px;
    resize: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 20px;
        margin: 10px;
    }

    .radio-973 {
        flex-direction: column;
        gap: 12px;
    }

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form select,
    .wpcf7-form textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .wpcf7-form-control.wpcf7-submit {
        padding: 10px;
    }
}

/* Animation for form load */
.wpcf7-form {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced file upload styling */
.wpcf7-form .file-295 {
    position: relative;
}

.wpcf7-form .file-295::after {
    content: "📎 Choose file or drag here";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    color: #6c757d;
    font-size: 14px;
}

.remove-item,
#add-history {
    color: #fff;
    display: block;
    margin: 0 auto;
    padding: 5px 15px;
    margin-bottom: 10px;
    display: block;
}

/* Loading state for submit button */
.wpcf7-form.submitting input[type="submit"] {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.wpcf7-form.submitting input[type="submit"]::after {
    content: "⏳ Sending...";
}

.page .wpcf7 p {
    margin-bottom: 10px;
}

.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form_dates {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form_dates label {
    display: flex;
    flex-direction: column;
}

#step2_form,
#step3_form {
    display: none;
}

/* #save-docx {
    display: none;
} */

/* ol,
ul {
    list-style-type: decimal;
    list-style-position: unset;
} */

/* Стилі для списку CV */
#cv-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

#cv-list li {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#cv-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#cv-list a {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#cv-list a:hover {
    color: #1a73e8;
}

#cv-list small {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

#cv-list .delete-cv {
    align-self: flex-start;
    /* background: #ff4d4d; */
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

#cv-list .delete-cv:hover {
    background: #1a73e8;
}


/* .delete-cv {
    display: flex;
    width: 20px;
    height: 20px;
    font-size: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
} */

/* #cv-list {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

#cv-list li {
    display: flex;
    align-items: center;
} */

.msg_pdf p {
    text-align: center;
}

/* Progress Bar */
.progressbar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.progressbar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d1d5db;
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 4px;
}

.progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: linear-gradient(135deg, #58b3d0, #58b3d0);
    transform: translateY(-50%);
    width: 0%;
    border-radius: 4px;
    transition: width 0.6s ease;
    z-index: 0;
}

.step {
    width: 40px;
    height: 40px;
    background: #d1d5db;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    font-weight: 600;
    color: #fff;
    transition: background 0.4s ease, transform 0.3s ease;
}

.step.active {
    background: linear-gradient(135deg, #58b3d0, #58b3d0);
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.5);
}

/* Form Steps */
.form-step {
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    outline: none;
}

input:focus {
    border-color: #58b3d0;
    box-shadow: 0 0 5px rgba(33, 27, 139, 0.3);
}

/* Buttons Row */
.btns {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.page .wpcf7-form input[type="submit"] {
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    padding: 12px 24px;
    fill: #fff;
    text-align: center;
    transition: all .3s;
    width: auto;
}

.cfsb {
    display: flex;
    flex-direction: column;
    align-items: center;

}