/* ==========================================================================
   register-form.css - the data privacy statement a supplier accepts before the form opens.
   Short blocks, each with one job, instead of a wall of text.
   ========================================================================== */

.privacy-card { padding: 0; overflow: hidden; }

.privacy-head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 34px 44px 26px;
    background: linear-gradient(180deg, #fff8e3 0%, #ffffff 100%);
    border-bottom: 1px solid #f1e5bd;
}
.privacy-seal {
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: var(--primary-navy, #0a192f);
    box-shadow: 0 10px 20px -8px rgba(10, 25, 47, .6);
}
.privacy-seal svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--accent-gold, #e5a823);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.privacy-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 11px;
    border: 1px solid #f0d98a;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.privacy-title {
    margin: 0 0 6px;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    color: var(--primary-navy, #0a192f);
}
.privacy-law { margin: 0; font-size: .92rem; line-height: 1.5; color: #4b5563; }

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;           /* the two cards of a row end level, instead of leaving ragged gaps (30 Nov 2026) */
    padding: 26px 44px 0;
}
.privacy-item {
    padding: 18px 20px;
    border: 1px solid #e3e9f1;
    border-radius: 15px;
    background: #f8fafc;
}
.privacy-item-wide { grid-column: 1 / -1; }
.privacy-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 750;
    color: var(--primary-navy, #0a192f);
}
.pi-n {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--primary-navy, #0a192f);
    color: var(--accent-gold, #e5a823);
    font-size: .8rem;
    font-weight: 800;
}
.privacy-item p { margin: 0 0 8px; font-size: .91rem; line-height: 1.62; color: #334155; }
.privacy-item p:last-of-type { margin-bottom: 0; }
.pi-mail {
    display: inline-block;
    margin-top: 10px;
    font-size: .92rem;
    font-weight: 700;
    color: var(--primary-navy, #0a192f);
}

.privacy-foot { padding: 22px 44px 36px; }
.privacy-more {
    display: inline-block;
    margin-bottom: 18px;
    font-size: .9rem;
    font-weight: 650;
    color: var(--primary-navy, #0a192f);
}
.privacy-more:hover { color: var(--accent-gold-hover, #c99218); }

.privacy-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid #cdd7e4;
    border-radius: 14px;
    background: #f4f7fb;
    font-size: .93rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-navy, #0a192f);
    cursor: pointer;
    user-select: none;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.privacy-checkbox-label:hover { background: #ecf1f8; }
.privacy-checkbox-label:has(input:checked) {
    background: #fff9e8;
    border-color: var(--primary-navy, #0a192f);
    box-shadow: inset 0 0 0 1px var(--primary-navy, #0a192f);
}
.privacy-checkbox-label:has(input:focus-visible) { outline: 3px solid var(--accent-gold, #e5a823); outline-offset: 2px; }
.privacy-checkbox-label input[type="checkbox"] {
    flex: none;
    width: 21px;
    height: 21px;
    margin-top: 1px;
    accent-color: var(--primary-navy, #0a192f);
    cursor: pointer;
}

.privacy-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 18px; }
/* While the box is not ticked, say why the button does not work yet; the note goes once it is ticked. */
.privacy-hint { margin: 0 auto 0 0; font-size: .88rem; color: #64748b; }
.privacy-foot:has(#gateConsentCheck:checked) .privacy-hint { display: none; }
.btn-gate-proceed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: 13px;
    background: var(--accent-gold, #e5a823);
    color: var(--primary-navy-dark, #060e1a);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px -10px rgba(201, 146, 24, .85);
    transition: background-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.btn-gate-proceed::after {
    content: '';
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-gate-proceed:hover:not(:disabled) { background: var(--accent-gold-hover, #c99218); transform: translateY(-1px); }
.btn-gate-proceed:focus-visible { outline: 3px solid var(--primary-navy, #0a192f); outline-offset: 3px; }
.btn-gate-proceed:disabled {
    background: #eef2f7;
    color: #64748b;
    border: 1.5px dashed #b8c4d4;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 820px) {
    .privacy-head { padding: 26px 26px 22px; }
    .privacy-grid { padding: 22px 26px 0; }
    .privacy-foot { padding: 20px 26px 28px; }
}
@media (max-width: 700px) {
    .privacy-head { flex-direction: column; gap: 14px; padding: 22px 18px 18px; }
    .privacy-title { font-size: 1.3rem; }
    .privacy-grid { grid-template-columns: 1fr; padding: 18px 18px 0; }
    .privacy-foot { padding: 18px 18px 22px; }
    .privacy-actions { flex-direction: column; align-items: stretch; }
    .privacy-hint { margin: 0; text-align: center; }
    .privacy-actions .btn-gate-proceed { width: 100%; }
}
