/**
 * Flash AI-Auto Blog Engine — Job Article Permanent Style System
 *
 * Provides permanent, high-performance styling for Job, Recruitment, Result,
 * Admit Card, Answer Key, and Admission articles without consuming AI tokens.
 *
 * Gradient: Linear horizontal from Royal Purple/Indigo (#553cd9) to Vibrant Blue (#3367db) / Ocean (#1e7ec6)
 *
 * @package AI_Blog_Engine
 * @since   1.0.4
 */

/* ==========================================================================
   1. MAIN CONTAINER & TYPOGRAPHY
   ========================================================================== */
.aibe-job-container,
.aibe-job-article {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.68;
    color: #1e293b;
    max-width: 100%;
    margin: 0 0 30px 0;
    box-sizing: border-box;
}

.aibe-job-container *,
.aibe-job-article * {
    box-sizing: border-box;
}

/* ==========================================================================
   2. CARDS & PURPLE/BLUE GRADIENT RIBBON HEADERS
   ========================================================================== */
.aibe-job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 22px 0 28px 0;
    box-shadow: 0 3px 12px rgba(85, 60, 217, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.aibe-job-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(85, 60, 217, 0.08), 0 2px 5px rgba(0, 0, 0, 0.05);
}

.aibe-job-ribbon,
.aibe-job-card-header {
    background: linear-gradient(90deg, #553cd9 0%, #4c48df 30%, #5564e7 60%, #3367db 85%, #1e7ec6 100%);
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    padding: 12px 18px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.aibe-job-ribbon .aibe-icon {
    font-size: 17px;
    line-height: 1;
}

.aibe-job-card-body {
    padding: 0;
}

/* ==========================================================================
   3. OVERVIEW GRID LAYOUT
   ========================================================================== */
.aibe-overview-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.aibe-overview-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.aibe-overview-table tr:last-child {
    border-bottom: none;
}

.aibe-overview-table td {
    padding: 13px 18px;
    font-size: 14.5px;
    vertical-align: middle;
}

.aibe-overview-table .aibe-label {
    width: 25%;
    font-weight: 700;
    color: #4f46e5;
    background: #fafbff;
    border-right: 1px solid #f1f5f9;
}

.aibe-overview-table .aibe-value {
    width: 25%;
    font-weight: 500;
    color: #0f172a;
    border-right: 1px solid #f1f5f9;
}

.aibe-overview-table .aibe-value:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .aibe-overview-table, 
    .aibe-overview-table tbody, 
    .aibe-overview-table tr, 
    .aibe-overview-table td {
        display: block;
        width: 100% !important;
        border-right: none !important;
    }
    
    .aibe-overview-table tr {
        border-bottom: 1px solid #e2e8f0;
        padding: 6px 0;
    }
    
    .aibe-overview-table .aibe-label {
        background: transparent;
        padding: 8px 16px 2px 16px;
        color: #553cd9;
        font-size: 13.5px;
    }
    
    .aibe-overview-table .aibe-value {
        padding: 2px 16px 10px 16px;
        font-size: 14.5px;
    }
}

/* ==========================================================================
   4. PRIMARY CTA & BUTTONS
   ========================================================================== */
.aibe-cta-container {
    padding: 16px 18px 18px 18px;
    text-align: center;
    background: #fafbff;
    border-top: 1px solid #f1f5f9;
}

.aibe-btn-primary {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(90deg, #553cd9 0%, #4361ee 50%, #1e7ec6 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15.5px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(85, 60, 217, 0.25);
    transition: all 0.25s ease;
    border: none;
}

.aibe-btn-primary:hover {
    background: linear-gradient(90deg, #4328d0 0%, #3651d4 50%, #186bb0 100%);
    box-shadow: 0 6px 18px rgba(85, 60, 217, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.aibe-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #553cd9 0%, #3b82f6 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(85, 60, 217, 0.2);
    white-space: nowrap;
}

.aibe-action-btn:hover {
    background: linear-gradient(135deg, #4328d0 0%, #2563eb 100%);
    box-shadow: 0 4px 10px rgba(85, 60, 217, 0.3);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* ==========================================================================
   5. RESPONSIVE DATA TABLES
   ========================================================================== */
.aibe-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
}

.aibe-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: #ffffff;
}

.aibe-data-table th {
    background: #f4f6fd;
    color: #312e81;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 18px;
    text-align: left;
    border-bottom: 2px solid #e0e7ff;
}

.aibe-data-table td {
    padding: 13px 18px;
    font-size: 14.5px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.aibe-data-table tr:last-child td {
    border-bottom: none;
}

.aibe-data-table tr:nth-child(even) {
    background: #fafbff;
}

.aibe-data-table tr:hover {
    background: #f1f4ff;
}

/* ==========================================================================
   6. HUMANIZED CONTENT & SECTION HEADINGS
   ========================================================================== */
.aibe-section-title {
    position: relative;
    font-size: 19px;
    font-weight: 750;
    color: #0f172a;
    margin: 32px 0 14px 0;
    padding-left: 14px;
    border-left: 4px solid #553cd9;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.aibe-job-container p,
.aibe-job-article p {
    font-size: 15.5px;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.aibe-step-list,
.aibe-job-container ol {
    margin: 0 0 22px 0;
    padding-left: 20px;
}

.aibe-step-list li,
.aibe-job-container ol li {
    font-size: 15px;
    color: #334155;
    line-height: 1.68;
    margin-bottom: 10px;
}

.aibe-step-list li strong,
.aibe-job-container ol li strong {
    color: #0f172a;
}

.aibe-bullet-list,
.aibe-job-container ul {
    margin: 0 0 22px 0;
    padding-left: 20px;
}

.aibe-bullet-list li,
.aibe-job-container ul li {
    font-size: 15px;
    color: #334155;
    line-height: 1.68;
    margin-bottom: 8px;
}

.aibe-bullet-list li strong,
.aibe-job-container ul li strong {
    color: #0f172a;
}

/* ==========================================================================
   7. INTERACTIVE FAQ ACCORDION
   ========================================================================== */
.aibe-faq-accordion {
    margin: 24px 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aibe-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.25s ease;
}

.aibe-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(85, 60, 217, 0.06);
}

.aibe-faq-item[open] {
    border-color: #553cd9;
    box-shadow: 0 3px 12px rgba(85, 60, 217, 0.1);
}

.aibe-faq-summary {
    cursor: pointer;
    font-size: 15px;
    font-weight: 650;
    color: #1e293b;
    padding: 14px 18px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

.aibe-faq-summary::-webkit-details-marker {
    display: none;
}

.aibe-faq-item[open] .aibe-faq-summary {
    background: #fafbff;
    color: #553cd9;
    border-bottom: 1px solid #f1f5f9;
}

.aibe-faq-q {
    color: #553cd9;
    font-weight: 800;
    margin-right: 6px;
}

.aibe-faq-arrow {
    display: inline-block;
    width: 18px;
    height: 18px;
    font-size: 13px;
    font-weight: bold;
    color: #553cd9;
    transition: transform 0.25s ease;
    text-align: center;
    line-height: 18px;
}

.aibe-faq-item[open] .aibe-faq-arrow {
    transform: rotate(180deg);
}

.aibe-faq-answer {
    padding: 14px 18px;
    background: #ffffff;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
}

.aibe-faq-answer p {
    margin: 0;
    font-size: 14.5px;
    color: #475569;
}

/* ==========================================================================
   8. POWERFUL LEGAL DISCLAIMER BOX
   ========================================================================== */
.aibe-disclaimer-box {
    margin: 36px 0 20px 0;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 5px solid #553cd9;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.aibe-disclaimer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 750;
    color: #1e293b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.aibe-disclaimer-title span.aibe-icon {
    font-size: 16px;
    color: #553cd9;
}

.aibe-disclaimer-content {
    font-size: 13px;
    color: #64748b;
}

.aibe-disclaimer-content p {
    margin: 0 0 6px 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

.aibe-disclaimer-content p:last-child {
    margin-bottom: 0;
}
