/* Admin Main Styles - Online Job Board */

/* Modern Settings Page Styles (from template-settings.php) */
.wfojb-settings-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wfojb-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    color: #fff;
}

.wfojb-settings-header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.wfojb-settings-header p {
    margin: 5px 0 0;
    opacity: 0.9;
}

.wfojb-save-btn {
    background: #fff;
    color: #667eea;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wfojb-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.wfojb-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.wfojb-tab-link {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #64748b;
    font-weight: 600;
    transition: all 0.2s;
}

.wfojb-tab-link:hover {
    background: #f1f5f9;
    color: #475569;
}

.wfojb-tab-link.active {
    background: #667eea;
    color: #fff;
}

.wfojb-settings-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.wfojb-tab-content {
    display: none;
    padding: 40px;
}

.wfojb-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

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

/* Premium Features Page Styles (from premium-features.php) */
/* --- Premium Features Page (Go Pro) --- */
.wfojb-premium-wrap {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    padding-bottom: 50px;
}

.wfojb-premium-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.wfojb-premium-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.wfojb-premium-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 15px;
    color: #fff;
    letter-spacing: -1px;
}

.wfojb-premium-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

.wfojb-premium-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 6px 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.wfojb-pf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    margin-top: -40px;
}

.wfojb-pf-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wfojb-pf-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: #bfdbfe;
}

.wfojb-pf-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s;
}

.wfojb-pf-card:hover .wfojb-pf-icon {
    background: #2563eb;
    color: #fff;
    transform: rotate(10deg);
}

.wfojb-pf-card h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #1e293b;
    font-weight: 700;
}

.wfojb-pf-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Comparison Table */
.wfojb-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 40px 0 20px;
}

.wfojb-compare-table {
    width: calc(100% - 80px);
    margin: 40px auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.wfojb-compare-table th {
    background: #f8fafc;
    padding: 24px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.wfojb-compare-table th:nth-child(2),
.wfojb-compare-table th:nth-child(3) {
    text-align: center;
    width: 150px;
}

.wfojb-compare-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-weight: 500;
}

.wfojb-compare-table tr:hover td {
    background: #fdfdfd;
}

.wfojb-compare-table td:nth-child(2),
.wfojb-compare-table td:nth-child(3) {
    text-align: center;
}

.wfojb-yes { color: #10b981; font-size: 1.2rem; }
.wfojb-no { color: #94a3b8; font-size: 1.2rem; }

/* Info Boxes */
.wfojb-info-box {
    background: #f8fafc;
    border-left: 5px solid #3b82f6;
    padding: 24px 32px;
    margin: 40px;
    border-radius: 4px 12px 12px 4px;
}

.wfojb-info-box p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 1.05rem;
}

.wfojb-info-box a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.wfojb-info-box a:hover {
    border-bottom-color: #2563eb;
}

.wfojb-cta-btn {
    display: inline-block;
    background: #fff;
    color: #2563eb !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.wfojb-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: #f8fafc;
}
/* --- Template Grid & Cards (Modern Premium Look) --- */
.wfojb-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.wfojb-tpl-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.wfojb-tpl-card:hover {
    border-color: #667eea;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
}

.wfojb-tpl-card.selected {
    border-color: #667eea;
    background: #f5f7ff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.wfojb-tpl-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wfojb-tpl-preview {
    width: 100%;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.wfojb-tpl-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.wfojb-tpl-card:hover .wfojb-tpl-preview img {
    transform: scale(1.05);
}

.wfojb-tpl-check {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #667eea;
    background: #fff;
    border-radius: 50%;
    line-height: 1;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wfojb-tpl-card.selected .wfojb-tpl-check {
    display: block;
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.wfojb-tpl-info {
    padding: 20px;
}

.wfojb-tpl-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
}

.wfojb-tpl-name i {
    color: #667eea;
    background: #eff2ff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
}

/* --- Section Cards & Rows --- */
.wfojb-section-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.wfojb-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.wfojb-section-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wfojb-badge {
    background: #eff2ff;
    color: #667eea;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.wfojb-section-desc {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 30px;
}

.wfojb-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f8fafc;
}

.wfojb-setting-row:last-child {
    border-bottom: none;
}

.wfojb-setting-info h4 {
    margin: 0 0 5px;
    color: #1e293b;
    font-size: 1.05rem;
}

.wfojb-setting-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* --- Form Controls Styling --- */
.wfojb-layout-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 10px;
    gap: 5px;
}

.wfojb-layout-option {
    padding: 8px 16px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    color: #64748b;
}

.wfojb-layout-option.active {
    background: #fff;
    color: #667eea;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.wfojb-layout-option input {
    display: none;
}

/* Switches */
.wfojb-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.wfojb-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.wfojb-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #e2e8f0;
    transition: .4s;
    border-radius: 34px;
}

.wfojb-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .wfojb-slider {
    background-color: #667eea;
}

input:focus + .wfojb-slider {
    box-shadow: 0 0 1px #667eea;
}

input:checked + .wfojb-slider:before {
    transform: translateX(24px);
}

/* Inputs */
.wfojb-input-sm {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Toast */
.wfojb-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e293b;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
}

.wfojb-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.wfojb-toast i {
    color: #10b981;
    font-size: 18px;
}
