@import url('/pdf/pdf-tools.css');

.rotate-card { max-width: 780px; margin: 0 auto; }
.rotate-options { margin: 18px 0 0; padding: 14px; border: 1px solid var(--header-border); border-radius: 10px; background: var(--panel-soft); }
.rotate-options legend { padding: 0 5px; color: var(--text-strong); font-size: .92rem; font-weight: 800; }
.rotate-options > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 5px; }
.rotate-options label { cursor: pointer; }
.rotate-options input { position: absolute; opacity: 0; pointer-events: none; }
.rotate-options span { display: block; padding: 11px 8px; border: 1px solid var(--header-border); border-radius: 8px; background: var(--panel); color: var(--text-soft); text-align: center; font-weight: 800; }
.rotate-options input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
.rotate-options p { margin: 11px 0 0; color: var(--text-muted); font-size: .83rem; line-height: 1.45; }
.rotate-submit { width: 100%; border: 0; cursor: pointer; font: inherit; }
.rotate-submit:disabled { cursor: not-allowed; opacity: .52; }
.rotate-pdf-page .pt-download-primary { display: flex; width: 100%; margin-top: 12px; justify-content: center; text-align: center; }
