/* ==========================================================================
   AKA Strategic Alliances and Collaboration Ingestion Layout Matrix
   ========================================================================== */

.collab-apply-main {
    padding: 11rem 0 7rem 0;
    min-height: 100vh;
    background: radial-gradient(circle at 50% -10%, rgba(255, 94, 0, 0.04) 0%, transparent 60%);
}

.collab-apply-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* --- HEADER MATRIX STRUCTURE --- */
.collab-main-title {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-family: var(--font-heading);
    margin: 1rem 0 1.5rem 0;
    font-weight: 900;
}

.collab-main-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.65;
}

.collab-notice-card {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.2rem 2.2rem;
    border-radius: 12px;
    margin-bottom: 4.5rem;
    text-align: left;
}

.pulsing-radar-dot {
    width: 10px; height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-color);
    animation: radarPulse 2s infinite ease-in-out;
}

@keyframes radarPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 18px var(--accent-color); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.notice-card-text h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.25rem; font-weight: 600; }
.notice-card-text p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* --- GLASS CONTAINER FOR ADMINISTRATIVE PANEL --- */
.collab-glass-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.form-matrix-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--accent-color);
    margin: 3.5rem 0 1.5rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    letter-spacing: 0.05rem;
}

.form-matrix-heading:first-child { margin-top: 0; }

.form-fields-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-input-group.full-width-field { margin-bottom: 2rem; }
.form-input-group label { font-size: 0.88rem; color: #fff; font-weight: 500; }

.premium-form-control {
    background: rgba(8, 8, 10, 0.6);
    border: 1px solid var(--border-color);
    padding: 1.1rem 1.3rem;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.98rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.premium-form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 94, 0, 0.01);
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.08);
}

.custom-textarea { resize: vertical; min-height: 140px; }
select.premium-form-control { appearance: none; cursor: pointer; background-image: url('data:image/svg+xml;utf8,<svg fill="%238E8E93" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 1.2rem center; }

/* --- INTERACTIVE PROPOSAL DROP VECTOR ZONE --- */
.interactive-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 3.5rem 2rem;
    text-align: center;
    background: rgba(8, 8, 10, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.interactive-drop-zone:hover, .interactive-drop-zone.dragover-active {
    border-color: var(--accent-color);
    background: rgba(255, 94, 0, 0.02);
}

.cloaked-file-element { display: none; }
.drop-zone-graphic-icon { font-size: 2.8rem; display: block; margin-bottom: 1.2rem; }
.drop-zone-idle-state p { color: #fff; font-weight: 500; margin-bottom: 0.5rem; font-size: 1rem; }
.embedded-trigger-accent { color: var(--accent-color); text-decoration: underline; }
.drop-zone-idle-state small { display: block; color: var(--text-muted); margin-top: 0.8rem; font-size: 0.8rem; }

.drop-zone-payload-state { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.drop-zone-success-icon { font-size: 2.2rem; color: #10B981; }
.purge-payload-action { background: transparent; border: 1px solid rgba(239, 68, 68, 0.6); color: #EF4444; padding: 0.45rem 1.2rem; border-radius: 4px; cursor: pointer; font-size: 0.85rem; transition: var(--transition-smooth); font-family: var(--font-body); }
.purge-payload-action:hover { background: #EF4444; color: #fff; border-color: #EF4444; }

/* --- PROTOCOL GOVERNANCE SYSTEM CHECKBOX MATRIX --- */
.institutional-checkbox-block { display: flex; flex-direction: column; gap: 1.3rem; margin-bottom: 4rem; }
.premium-checkbox-wrapper { display: flex; align-items: flex-start; gap: 1.1rem; cursor: pointer; position: relative; }
.premium-checkbox-wrapper input { position: absolute; opacity: 0; width: 0; height: 0; }
.custom-checkbox-box { width: 20px; height: 20px; background: rgba(8,8,10,0.6); border: 1px solid var(--border-color); border-radius: 4px; flex-shrink: 0; position: relative; transition: var(--transition-smooth); margin-top: 0.1rem; }

.premium-checkbox-wrapper:hover input ~ .custom-checkbox-box { border-color: var(--accent-color); }
.premium-checkbox-wrapper input:checked ~ .custom-checkbox-box { background: var(--accent-color); border-color: var(--accent-color); }
.custom-checkbox-box:after { content: ""; position: absolute; display: none; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.premium-checkbox-wrapper input:checked ~ .custom-checkbox-box:after { display: block; }
.checkbox-text-label { color: var(--text-muted); font-size: 0.94rem; line-height: 1.6; }

/* --- PAYLOAD SUBMISSION LAYER --- */
.form-action-anchor-row { text-align: center; }
.submit-payload-action-btn { width: 100%; max-width: 340px; padding: 1.3rem; font-size: 1.05rem; font-weight: 600; border: none; cursor: pointer; }

.action-loader-span {
    width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%; border-top-color: #fff; animation: rotationSpin 0.9s infinite linear;
    margin: 0 auto;
}

@keyframes rotationSpin { to { transform: rotate(360deg); } }

/* --- SUCCESS TRANSITION OVERLAY --- */
.collab-success-overlay {
    position: absolute; inset: 0; background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center;
    text-align: center; z-index: 100; padding: 3rem;
}

.success-graphic-seal { width: 85px; height: 85px; background: #10B981; color: #fff; font-size: 3.2rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 2.2rem auto; box-shadow: 0 0 35px rgba(16, 185, 129, 0.35); }
.success-message-wrapper h2 { font-family: var(--font-heading); font-size: 2.4rem; margin-bottom: 1.2rem; font-weight: 700; }
.success-message-wrapper p { color: var(--text-muted); font-size: 1.1rem; max-width: 480px; margin: 0 auto 2.5rem auto; line-height: 1.65; }

.hidden { display: none !important; }

@media (max-width: 768px) {
    .collab-glass-card { padding: 3rem 1.5rem; }
    .form-fields-grid-row { grid-template-columns: 1fr; gap: 0; }
    .collab-notice-card { flex-direction: column; text-align: center; padding: 1.5rem; }
}