
.recruitment-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 0;
}

.recruitment-container {
    max-width: 1440px;
    margin: 0 auto;
}

.recruitment-header {
    margin-bottom: 60px;
}

.recruitment-title {
    font-weight: 700;
    font-size: 25px;
    line-height: 140%;
    letter-spacing: 0%;
    text-transform: uppercase;
    margin: 0;
}

.recruitment-section-talent {
    margin: 110px 0;
}

/* Two-row Layout */
.recruitment-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* Row 2: 3 items */
.recruitment-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    background-color: #FFFFFF;

}

/* Recruitment Cards */
.recruitment-card {
    background-color: #FAFAFA;
    border: none;
    display: flex;
    flex-direction: column;
}

.recruitment-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px;
    height: 100%;
    text-align: center;
}

/* Icon Container */
.recruitment-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recruitment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.recruitment-icon img {
    width: 48px;
    height: 60px;
    object-fit: contain;
}

/* Text Content */
.recruitment-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    align-items: center;
}

.recruitment-value-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.36;
    margin: 0;
    text-align: center;
}

.recruitment-value-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.36;
    color: #000000;
    margin: 0;
    text-align: center;
}

/* Empty State */
.recruitment-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.recruitment-admin-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}


/* Default Icon SVG */
.recruitment-icon svg {
    width: 48px;
    height: 60px;
}

.recruitment-tab-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.recruitment-tab-menu .tab-item {
    font-weight: 600;
    font-size: 18px;
    line-height: 180%;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
}

.recruitment-tab-menu .tab-item:not(.active) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 100%;
    background-color: #F2F3F5;
    border-right: 1px solid #DEDFE0;
    border-left: 1px solid #DEDFE0;
    color: #5B5B5C;
}

.recruitment-tab-menu .tab-item.active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 100%;
    color: #FFFFFF;
    background-color: var(--primary-color) !important;
    border-left: none;
    border-right: none;
}
.recruitment-tab-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 440px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    color: #ffffff;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: none;
    overflow: hidden;
}
.recruitment-talent-content {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.recruitment-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-top: 24px;
    margin-bottom: 29px;

    line-height: 180%;
    letter-spacing: 0.04rem;

}

.recruitment-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    letter-spacing: 0.04rem;
}

.recruitment-process-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.talent-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.recruitment-process-content {
    width: 1125px;
    height: 100%;
    object-fit: contain;
    margin-top: 40px;
}

/* Admin Styles */
.recruitment-admin-overview {
    margin: 20px 0;
}

.recruitment-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-width: 120px;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #0073aa;
}

.stat-card p {
    margin: 0;
    color: #666;
}

.recruitment-admin-tabs {
    margin-top: 20px;
}

.recruitment-tab-content.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
/* Overlay for better text readability */
.recruitment-tab-content .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.recruitment-tab-content .text-title {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 180%;
    letter-spacing: 4%;
    text-transform: uppercase;
    color: #FFFFFF;
}

.recruitment-tab-content .text {
    position: relative;
    z-index: 2;
    font-weight: 400;
    font-size: 21px;
    line-height: 180%;
    letter-spacing: 4%;
    text-align: center;
    color: #FFFFFF;
}

.recruitment-manage-actions {
    margin-bottom: 20px;
}

.recruitment-manage-actions .button {
    margin-right: 10px;
}

.recruitment-values-list {
    margin-top: 20px;
}

.status-active {
    color: #46b450;
    font-weight: bold;
}

.status-inactive {
    color: #dc3232;
}

.status-featured {
    color: #ffb900;
    font-weight: bold;
}

.recruitment-preview {
    margin-top: 20px;
}

.preview-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #f9f9f9;
}

.preview-container .recruitment-section {
    padding: 20px 0;
}

/* Admin Meta Box Styles */
.recruitment-meta-box .form-table th {
    width: 150px;
    vertical-align: top;
    padding-top: 15px;
}

/* Ideal Talent Meta Box Styles */
.recruitment-meta-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #23282d;
    margin: 20px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e1e1e1;
}

.recruitment-meta-box h4:first-of-type {
    margin-top: 0;
}

/* Ideal Talent Cards Container */
.recruitment-cards-container {
    margin-top: 20px;
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
}

.recruitment-cards-container h4 {
    margin-top: 0;
    color: #0073aa;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* Ideal Talent Card Items */
#recruitment-ideal-talent-cards-list .recruitment-card-item {
    background: #ffffff;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#recruitment-ideal-talent-cards-list .recruitment-card-item:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.1);
    transform: translateY(-2px);
}

#recruitment-ideal-talent-cards-list .card-header {
    /* background: linear-gradient(135deg, #0073aa, #005a87); */
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #005a87;
}

#recruitment-ideal-talent-cards-list .card-handle {
    cursor: move;
    color: #ffffff;
    margin-right: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#recruitment-ideal-talent-cards-list .card-handle:hover {
    opacity: 1;
}

#recruitment-ideal-talent-cards-list .card-handle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

#recruitment-ideal-talent-cards-list .card-title-toggle {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

#recruitment-ideal-talent-cards-list .toggle-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

#recruitment-ideal-talent-cards-list .card-title-toggle.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

#recruitment-ideal-talent-cards-list .remove-card {
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}



#recruitment-ideal-talent-cards-list .card-content {
    padding: 25px;
    background: #ffffff;
    transition: all 0.3s ease;
}

#recruitment-ideal-talent-cards-list .card-content.collapsed {
    display: none;
}

/* Form Styling for Ideal Talent Cards */
#recruitment-ideal-talent-cards-list .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

#recruitment-ideal-talent-cards-list .form-col {
    flex: 1;
}

#recruitment-ideal-talent-cards-list .form-col.full-width {
    flex: 1 1 100%;
}

#recruitment-ideal-talent-cards-list .form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #23282d;
    font-size: 14px;
}

#recruitment-ideal-talent-cards-list .form-row input[type="text"],
#recruitment-ideal-talent-cards-list .form-row input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

#recruitment-ideal-talent-cards-list .form-row input[type="text"]:focus,
#recruitment-ideal-talent-cards-list .form-row input[type="number"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

#recruitment-ideal-talent-cards-list .image-upload-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#recruitment-ideal-talent-cards-list .image-preview {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e1e1e1;
    border-radius: 8px;
    background: #f9f9f9;
    transition: border-color 0.3s ease;
}

#recruitment-ideal-talent-cards-list .image-preview:hover {
    border-color: #0073aa;
}

#recruitment-ideal-talent-cards-list .image-preview img {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#recruitment-ideal-talent-cards-list .upload-image-button,
#recruitment-ideal-talent-cards-list .remove-image-button {
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#recruitment-ideal-talent-cards-list .upload-image-button {
    background: #0073aa;
    color: #fff;
    border: none;
}

#recruitment-ideal-talent-cards-list .upload-image-button:hover {
    background: #005a87;
    transform: translateY(-1px);
}

#recruitment-ideal-talent-cards-list .remove-image-button {
    color: #fff;
    border: none;
}

#recruitment-ideal-talent-cards-list .remove-image-button:hover {
    background: #a00;
    transform: translateY(-1px);
}

#recruitment-ideal-talent-cards-list .card-order-input {
    width: 80px;
    text-align: center;
}

#recruitment-ideal-talent-cards-list .description {
    font-style: italic;
    color: #666;
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.4;
}

/* Add New Card Button */
#add-ideal-talent-card {
    background: linear-gradient(135deg, #0073aa, #005a87);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

#add-ideal-talent-card:hover {
    background: linear-gradient(135deg, #005a87, #004466);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.3);
}

/* Sortable Placeholder */
#recruitment-ideal-talent-cards-list .ui-sortable-placeholder {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border: 2px dashed #0073aa;
    border-radius: 12px;
    height: 120px;
    margin-bottom: 20px;
    visibility: visible !important;
    position: relative;
}

#recruitment-ideal-talent-cards-list .ui-sortable-placeholder::before {
    content: "Drop card here";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0073aa;
    font-weight: 600;
    font-size: 14px;
}

.recruitment-meta-box .form-table td {
    padding: 10px 0;
}

.recruitment-meta-box .regular-text {
    width: 100%;
    max-width: 400px;
}

.recruitment-meta-box .large-text {
    width: 100%;
    max-width: 600px;
    height: 100px;
}

.recruitment-meta-box .description {
    font-style: italic;
    color: #666;
    margin-top: 5px;
}

.recruitment-meta-box .description.has-content {
    color: #46b450;
}

.recruitment-meta-box input.error,
.recruitment-meta-box textarea.error {
    border-color: #dc3232;
    box-shadow: 0 0 2px rgba(220, 50, 50, 0.3);
}

/* Hover effects for recruitment cards */
.recruitment-card.hovered {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.recruitment-card {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1439px) {
    .recruitment-section {
        max-width: 896px;
        padding: 56px 0px 56px 0px;
    }

    .recruitment-title {
        font-size: 21px;
        height: 29px;
    }
  
    .recruitment-process-content {
        width: 100%;
    }

    .recruitment-section-talent {
        margin: 80px 0;
    }

    .recruitment-talent-content {
        margin-top: 24px;
    }

    .recruitment-tab-menu {
        margin-bottom: 24px;
    }

    .recruitment-tab-menu .tab-item {
        font-size: 18px;
        padding: 16px;
    }

    .recruitment-tab-content {
        min-height: 328.53px;
        gap: 12px;
    }

    .recruitment-tab-content .text-title {
        font-size: 24px;
    }

    .recruitment-tab-content .text {
        font-size: 21px;
    }
}


@media (max-width: 1023px) {
    .recruitment-section {
        max-width: 688px;
        padding: 56px 0px 56px 0px;
    }
    
    .recruitment-process-content {
        width: 100%;
    }

    .recruitment-talent-content {
        margin-top: 24px;
    }

    .recruitment-tab-menu {
        margin-bottom: 24px;
    }

    .recruitment-tab-menu .tab-item {
        font-size: 16px;
    }

    .recruitment-tab-content {
        min-height: 252.27px;
        gap: 8px;
    }

    .recruitment-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .recruitment-description {
        font-size: 14px;
    }

    .recruitment-tab-content .text-title {
        font-size: 21px;
    }

    .recruitment-tab-content .text {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .recruitment-section {
        max-width: 343px;
        padding: 48px 0px 48px 0px;
    }

    .recruitment-title {
        font-size: 19px;
        height: 27px;
    }

    .recruitment-subtitle {
        font-size: 14px;
        margin-top: 16px;
        margin-bottom: 24px;
    }
    
    .recruitment-process-content {
        width: 100%;
        margin-top: 24px;
    }

    .recruitment-section-talent {
        margin: 48px 0;
    }

    .recruitment-talent-content {
        margin-top: 16px;
    }

    .recruitment-tab-menu {
        margin-bottom: 12px;
    }

    .recruitment-tab-menu .tab-item {
        font-size: 14px;
        padding: 8px 0px;
    }

    .recruitment-tab-content {
        min-height: 125.77px;
        gap: 4px;
    }

    .recruitment-tab-content .text-title {
        font-size: 16px;
    }

    .recruitment-tab-content .text {
        font-size: 14px;
    }
}