/* ── PENTÁGONO — ACREDITACIÓN DE PRENSA — Irak 1991 ── */

.pen-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.88);
    overflow-y: auto;
    padding: 40px 20px;
}

.pen-overlay.open {
    display: block;
}

.pen-form {
    max-width: 780px;
    margin: 0 auto;
    background: #f5f0e8;
    border: 2px solid #1a1a2e;
    font-family: 'Share Tech Mono', monospace;
}

.pen-form-bar {
    background: #1a1a2e;
    color: #c8b97a;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.pen-seal {
    font-size: 1.1rem;
    color: #c8b97a;
}

.pen-form-body {
    padding: 32px 36px 40px;
    color: #1a1a2e;
}

.pen-header {
    border-bottom: 2px solid #1a1a2e;
    padding-bottom: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.pen-doc-number {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: #555;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pen-header h2 {
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a2e;
    margin: 0 0 8px;
    font-weight: normal;
}

.pen-subtitle {
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 0.1em;
}

.pen-preamble {
    font-size: 0.72rem;
    line-height: 1.8;
    color: #333;
    background: #ece7d8;
    border-left: 3px solid #1a1a2e;
    padding: 14px 18px;
    margin-bottom: 28px;
}

.pen-section-title {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    background: #1a1a2e;
    padding: 6px 12px;
    margin: 28px 0 18px;
}

.pen-field {
    margin-bottom: 18px;
}

.pen-field label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.pen-field input,
.pen-field textarea,
.pen-field select {
    width: 100%;
    background: #fff;
    border: 1px solid #1a1a2e;
    color: #1a1a2e;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    padding: 8px 10px;
    box-sizing: border-box;
    outline: none;
    appearance: none;
}

.pen-field textarea {
    min-height: 72px;
    resize: vertical;
}

.pen-field select {
    cursor: pointer;
}

.pen-note {
    font-size: 0.62rem;
    color: #666;
    margin-top: 5px;
    letter-spacing: 0.08em;
    font-style: italic;
}

.pen-checkbox-field {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 0.72rem;
    line-height: 1.7;
    color: #1a1a2e;
}

.pen-checkbox-field input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #1a1a2e;
    cursor: pointer;
}

.pen-error {
    font-size: 0.72rem;
    color: #8b0000;
    background: #ffeaea;
    border: 1px solid #8b0000;
    padding: 10px 14px;
    margin: 20px 0 0;
    min-height: 0;
    letter-spacing: 0.08em;
    line-height: 1.7;
    display: none;
}

.pen-error:not(:empty) {
    display: block;
}

.pen-submit {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 13px;
    background: #1a1a2e;
    color: #c8b97a;
    border: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.pen-submit:hover {
    background: #c8b97a;
    color: #1a1a2e;
}

.pen-stamp {
    font-size: 2rem;
    font-weight: 900;
    color: #8b0000;
    border: 4px solid #8b0000;
    display: inline-block;
    padding: 4px 18px;
    letter-spacing: 0.18em;
    transform: rotate(-8deg);
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.pen-stamp.visible {
    opacity: 1;
}

.pen-fine-print {
    font-size: 0.6rem;
    color: #888;
    line-height: 1.7;
    margin-top: 28px;
    border-top: 1px solid #ccc;
    padding-top: 14px;
    letter-spacing: 0.05em;
}