/* Zoho Recruit Plugin - Modern Frontend Styles */

:root {
    --zoho-primary: #0068FF;
    /* Blue matching the design */
    --zoho-primary-hover: #2563eb;
    --zoho-secondary: #eff6ff;
    /* Light blue background */
    --zoho-text-main: #1e293b;
    --zoho-text-muted: #64748b;
    --zoho-border: #e2e8f0;
    --zoho-white: #ffffff;
    --zoho-font: 'comfortaa', system-ui, -apple-system, sans-serif;
}

.zoho-recruit-wrapper {
    font-family: var(--zoho-font);
}

/* Filter Bar */
.zoho-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
}

.zoho-filter-btn {
    background: transparent;
    border: 1px solid #0068FF;
    color: #0068FF;
    padding: 10px 20px;
    min-width: 220px;
    border-radius: 12px;
    /* Pill shape */
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    line-height: 24px;
    transition: all 0.2s ease;
}

.zoho-filter-btn:hover {
    background: #0068FF;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.2);
}

.zoho-filter-btn.active {
    background: #0068FF;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.2);
}

/* Jobs Container */
.zoho-jobs-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Modern Job Card */
.zoho-job-card-modern {
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-color: rgba(155, 185, 213, 1);
    border-width: 1px 0 1px 0;
    border-style: solid;
    padding: 40px 0;
}

.zoho-job-info {
    flex: 1;
    padding-right: 24px;
}

/* RTL Adjustment */
[dir="rtl"] .zoho-job-info {
    padding-right: 0;
    padding-left: 24px;
}


.zoho-job-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    color: #0068FF;
    /* Blue title */
    margin: 0 0 36px 0;
}

.zoho-job-excerpt {
    font-size: 16px;
    color: var(--zoho-text-main);
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 800px;
}

.zoho-job-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.zoho-job-tag {
    font-size: 13px;
    color: var(--zoho-primary);
    border: 1px solid var(--zoho-primary);
    padding: 4px 12px;
    border-radius: 9999px;
    background: transparent;
}

/* Buttons */
.zoho-job-action {
    flex-shrink: 0;
}

.zoho-btn-apply-modern {
    background: transparent;
    color: #0068FF;
    border: none;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.zoho-btn-apply-modern:hover {
    text-decoration: underline !important;
    background-color: transparent !important;
    color: #0068FF !important;
}

.zoho-btn-apply-modern .zoho-arrow {
    font-size: 18px;
    line-height: 1;
}


/* Error States */
.zoho-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
}

.zoho-no-jobs {
    text-align: center;
    padding: 40px;
    color: var(--zoho-text-muted);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .zoho-job-card-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .zoho-job-info {
        padding-right: 0;
    }

    [dir="rtl"] .zoho-job-info {
        padding-left: 0;
    }

    .zoho-job-title {
        font-size: 24px;
    }

    .zoho-filter-bar {
        font-size: 12px;
    }

    .zoho-filter-btn {
        min-width: 150px;
        font-size: 14px;
        padding: 8px 16px;
    }


}