/* Style halaman ajukan.php (dipisah) */
    .ajukan-section { margin-top: 100px; margin-bottom: 60px; padding: 0 15px; }

    .ajukan-header {
        background: linear-gradient(135deg, var(--polines-navy) 0%, var(--polines-blue) 100%);
        color: #fff; padding: 35px 30px; border-radius: 15px;
        margin-bottom: 30px; text-align: center;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }
    .ajukan-header h2 { margin: 0 0 15px; font-size: 32px; font-weight: 700; color: #fff; }
    .ajukan-header p  { margin: 0 auto; font-size: 16px; color: #e9f1ff; line-height: 1.8; max-width: 900px; }

    .form-card {
        background: #fff; border-radius: 16px; padding: 30px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 30px;
        border: 1px solid #e3e8f0;
    }
    .form-card h3 {
        font-size: 18px; font-weight: 700; color: var(--polines-navy);
        margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #f0f2f5;
    }
    .form-card h3 i { color: var(--polines-gold); margin-right: 8px; }

    .form-label { font-weight: 600; font-size: 13px; color: #444; margin-bottom: 6px; }
    .form-label .required { color: #e74c3c; }
    .form-control, .form-select {
        border: 2px solid #e3e8f0; border-radius: 10px; padding: 10px 14px;
        font-size: 14px; transition: border-color 0.2s;
        font-family: 'Poppins', sans-serif;
    }
    .form-control:focus, .form-select:focus {
        border-color: var(--polines-blue); box-shadow: 0 0 0 3px rgba(0,64,128,0.1);
    }
    .form-text { font-size: 12px; color: #a0adb8; }

    /* Type selector cards */
    .type-selector { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
    .type-card {
        flex: 1; min-width: 200px; padding: 20px; border-radius: 14px;
        border: 2px solid #e3e8f0; cursor: pointer; transition: all 0.25s;
        text-align: center; background: #fff;
    }
    .type-card:hover { border-color: var(--polines-blue); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
    .type-card.selected { border-color: var(--polines-navy); background: linear-gradient(135deg, rgba(0,51,102,0.03), rgba(0,64,128,0.06)); }
    .type-card .type-icon { font-size: 28px; margin-bottom: 10px; }
    .type-card .type-name { font-weight: 700; font-size: 15px; color: var(--polines-navy); }
    .type-card .type-desc { font-size: 12px; color: #8a9bb0; margin-top: 4px; }

    /* Scope textarea */
    .scope-paste-hint {
        background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
        padding: 10px 14px; font-size: 12px; color: #92400e;
        margin-bottom: 8px; line-height: 1.6;
    }
    .scope-paste-hint i { color: #f59e0b; margin-right: 5px; }
    .scope-textarea {
        font-size: 13px; line-height: 1.7; resize: vertical; min-height: 100px;
    }

    /* APC n/a toggle */
    .apc-na-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
    .apc-na-row label { font-size: 12px; color: #888; cursor: pointer; margin: 0; }

    /* Submit area */
    .submit-area { text-align: center; padding: 30px 0; }
    .btn-submit {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 14px 40px; border-radius: 12px; border: none;
        background: linear-gradient(135deg, var(--polines-navy), var(--polines-blue));
        color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
        transition: all 0.3s; box-shadow: 0 4px 15px rgba(0,51,102,0.3);
    }
    .btn-submit:hover   { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,51,102,0.4); }
    .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

    /* Success/Error message */
    .msg-box { padding: 20px 25px; border-radius: 12px; margin-bottom: 20px; display: none; }
    .msg-success { background: #dcfce7; border: 1px solid #86efac; color: #166534; }
    .msg-error   { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }

    /* Conditional fields */
    .field-group        { display: none; }
    .field-group.active { display: block; }

    /* Info note */
    .info-note {
        background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px;
        padding: 16px 20px; margin-bottom: 20px;
    }
    .info-note p { margin: 0; font-size: 13px; color: #92400e; line-height: 1.7; }
    .info-note i { color: #f59e0b; margin-right: 6px; }

    /* Frekuensi custom hint */
    #s_frekuensi_hint { font-size: 12px; color: #a0adb8; margin-top: 4px; display: none; }

    @media (max-width: 768px) {
        .ajukan-section { margin-top: 90px; }
        .ajukan-header h2 { font-size: 24px; }
        .type-selector { flex-direction: column; }
        .form-card { padding: 20px; }
    }

/* ── Autocomplete: cek jurnal sudah terdaftar (Ajukan) ─────── */
.jurnal-ac {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: #fff; border: 1px solid #e3e8f0; border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,.14); margin-top: 4px;
    max-height: 340px; overflow-y: auto; display: none;
}
.jurnal-ac.show { display: block; }
.jurnal-ac .ac-item { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid #f0f2f5; }
.jurnal-ac .ac-item:last-child { border-bottom: none; }
.jurnal-ac .ac-item:hover { background: #f5f8fc; }
.jurnal-ac .ac-name { font-weight: 600; color: #1f2937; font-size: 14px; line-height: 1.3; }
.jurnal-ac .ac-meta { font-size: 12px; color: #6b7280; margin-top: 2px; }
.jurnal-ac .ac-cta  { font-size: 12px; color: var(--polines-navy, #003366); font-weight: 600; margin-top: 4px; }
.jurnal-ac .ac-empty { padding: 12px 14px; font-size: 13px; color: #16a34a; }
