/* ══════════════════════════════════════════════
   SUBMIT PAGE — Research Submission Portal
   ══════════════════════════════════════════════ */

/* ── Hero ── */
.submit-hero {
    position: relative;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 55%, #1a1a3e 100%);
    padding: 90px 0 70px; overflow: hidden;
}
.submit-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.submit-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.22; }
.orb-1 { width: 500px; height: 500px; background: #6366f1; top: -180px; right: -100px; }
.orb-2 { width: 360px; height: 360px; background: #7c3aed; bottom: -80px; left: -80px; }

.submit-hero-content { position: relative; z-index: 1; }

.submit-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18); color: #c4b5fd;
    padding: 7px 18px; border-radius: 100px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
    margin-bottom: 24px;
}
.submit-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 54px);
    color: white; font-weight: 700; line-height: 1.2; margin-bottom: 18px;
}
.submit-hero-content > p {
    font-size: 17px; color: rgba(165,180,252,0.85); line-height: 1.7;
    margin-bottom: 40px; max-width: 600px;
}

/* Steps row */
.submit-steps-row {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.submit-step-pill {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px); color: white;
    padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
}
.step-pill-num { font-size: 11px; color: #a5b4fc; font-weight: 800; }
.submit-step-pill sl-icon { font-size: 16px; color: #c4b5fd; }
.step-arrow { color: rgba(165,180,252,0.4); font-size: 18px; }

/* ── Body ── */
.submit-body-section { padding: 52px 0 80px; background: #f1f5f9; }
.submit-layout { display: flex; gap: 36px; align-items: flex-start; }
.submit-form-col { flex: 1; min-width: 0; }
.submit-sidebar { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }

/* ── Alerts ── */
.submit-alert {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px 24px; border-radius: 14px; margin-bottom: 28px;
}
.submit-alert sl-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.submit-alert strong { display: block; font-size: 16px; margin-bottom: 4px; }
.submit-alert p { font-size: 14px; margin: 0; line-height: 1.6; }
.success-alert { background: #f0fdf4; border: 1.5px solid #86efac; }
.success-alert sl-icon { color: #16a34a; }
.success-alert strong { color: #14532d; }
.success-alert p { color: #15803d; }
.error-alert { background: #fff1f2; border: 1.5px solid #fca5a5; }
.error-alert sl-icon { color: #dc2626; }
.error-alert strong { color: #991b1b; }
.error-alert p { color: #b91c1c; }
.error-alert a { color: #6366f1; }

/* ── Form Card ── */
.submit-form {
    background: white; border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 40px;
}

.form-section-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 24px; padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}
.form-section-header sl-icon { font-size: 20px; color: #6366f1; }
.form-section-header h2 { font-size: 18px; font-weight: 700; color: #1e1b4b; margin: 0; font-family: 'Playfair Display', serif; }

.form-row { display: flex; gap: 20px; }
.form-row.two-col > .form-field { flex: 1; }

.form-field { margin-bottom: 20px; width: 100%; }
.form-field label {
    display: block; font-size: 13.5px; font-weight: 700;
    color: #374151; margin-bottom: 7px; letter-spacing: 0.2px;
}
.required { color: #ef4444; }
.field-optional { color: #94a3b8; font-weight: 500; font-size: 12px; }

/* Input with icon */
.field-input-wrap { position: relative; display: flex; align-items: center; }
.field-input-wrap sl-icon {
    position: absolute; left: 13px; font-size: 16px;
    color: #94a3b8; pointer-events: none; z-index: 1;
}
.field-input-wrap input {
    width: 100%; padding: 11px 14px 11px 38px;
    border: 1.5px solid #e2e8f0; border-radius: 10px;
    font-size: 14.5px; color: #1e293b; outline: none;
    background: #f8fafc; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
}
.field-input-wrap input:focus {
    border-color: #6366f1; background: white;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* Select with icon */
.field-select-wrap { position: relative; display: flex; align-items: center; }
.field-select-wrap sl-icon {
    position: absolute; left: 13px; font-size: 16px;
    color: #94a3b8; pointer-events: none; z-index: 1;
}
.field-select-wrap select {
    width: 100%; padding: 11px 14px 11px 38px;
    border: 1.5px solid #e2e8f0; border-radius: 10px;
    font-size: 14.5px; color: #1e293b; outline: none;
    background: #f8fafc; cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;
    appearance: auto;
}
.field-select-wrap select:focus {
    border-color: #6366f1; background: white;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* Textarea */
.form-field textarea {
    width: 100%; padding: 13px 16px;
    border: 1.5px solid #e2e8f0; border-radius: 10px;
    font-size: 14.5px; color: #1e293b; outline: none;
    background: #f8fafc; resize: vertical; min-height: 140px;
    font-family: 'Inter', sans-serif; line-height: 1.6;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
}
.form-field textarea:focus {
    border-color: #6366f1; background: white;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.field-hint { display: block; font-size: 12px; color: #64748b; margin-top: 5px; }

/* Declaration */
.form-declaration {
    background: #f8faff; border: 1.5px solid #e0e7ff;
    border-radius: 12px; padding: 18px 20px; margin-bottom: 28px;
}
.declaration-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.declaration-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: #6366f1; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.declaration-text { font-size: 13.5px; color: #374151; line-height: 1.6; }
.declaration-text a { color: #6366f1; font-weight: 600; }

/* Submit Button */
.submit-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px; border-radius: 12px; border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white; font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 6px 20px rgba(99,102,241,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(99,102,241,0.55); }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* ── Sidebar Cards ── */
.submit-sidebar-card {
    background: white; border-radius: 18px;
    border: 1px solid #e2e8f0; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.submit-sidebar-card h3 {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700; color: #1e1b4b;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.submit-sidebar-card h3 sl-icon { color: #6366f1; font-size: 18px; }

.guidelines-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.guidelines-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #374151; line-height: 1.5; }
.guidelines-list sl-icon { color: #22c55e; font-size: 15px; flex-shrink: 0; margin-top: 2px; }

.next-steps { display: flex; flex-direction: column; gap: 14px; }
.next-step { display: flex; align-items: flex-start; gap: 14px; }
.next-step-num {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white; font-size: 12px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(99,102,241,0.35);
}
.next-step strong { display: block; font-size: 13.5px; color: #1e293b; margin-bottom: 3px; }
.next-step p { font-size: 12.5px; color: #64748b; margin: 0; line-height: 1.5; }

.contact-card { text-align: center; }
.contact-card > sl-icon { font-size: 36px; color: #6366f1; margin-bottom: 10px; display: block; }
.contact-card h3 { justify-content: center; border: none; padding: 0; margin-bottom: 8px; }
.contact-card p { font-size: 13.5px; color: #64748b; margin-bottom: 14px; }
.contact-email-link {
    display: inline-block; font-weight: 700; font-size: 13.5px; color: #4f46e5;
    background: #f5f3ff; padding: 10px 20px; border-radius: 8px;
    border: 1px solid #e0e7ff; text-decoration: none; transition: all 0.2s;
}
.contact-email-link:hover { background: #6366f1; color: white; border-color: #6366f1; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .submit-layout { flex-direction: column; }
    .submit-sidebar { width: 100%; position: static; flex-direction: row; flex-wrap: wrap; }
    .submit-sidebar-card { flex: 1; min-width: 260px; }
}
@media (max-width: 640px) {
    .submit-form { padding: 24px 18px; }
    .form-row.two-col { flex-direction: column; }
    .submit-steps-row { gap: 6px; }
    .step-arrow { display: none; }
}
