
/* ============================================
   KOP BUTTON & MODAL STYLES
   Added to support consistent toggles and modals
   ============================================ */

.kop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    background: #ffffff;
    color: #374151;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    line-height: 1.4;
}
/* States Kadence would otherwise colour (a:focus midnight, button:focus navy fill). */
.kop-btn:focus { background: #ffffff; color: #374151; }


.kop-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #374151; /* the other half, or Kadence supplies it */
}

.kop-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Modal Styles */
.kop-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.kop-modal[aria-hidden="false"] {
    display: flex;
    opacity: 1;
}

.kop-modal > div {
    background: #ffffff;
    border-radius: 10px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 24px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.kop-modal[aria-hidden="false"] > div {
    transform: scale(1);
}

.kop-modal h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
}

.kop-modal p {
    margin: 0 0 20px;
    color: #334155;
    line-height: 1.5;
    font-size: 14px;
}

.kop-modal .kop-btn {
    min-width: 80px;
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */

.kop-privacy__container {
    max-width: 780px;
    margin: 2rem auto;
    padding: 2rem 2.5rem 3rem;
    background: var(--kop-white, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 4, 53, 0.08);
    color: var(--kop-midnight-blue, #000435);
    line-height: 1.7;
}

/* Text never sits on the site's gradient: the page is one white card, edge
 * to edge on a phone as the records pages are. */
@media (max-width: 600px) {
    .kop-privacy__container {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }
}

.kop-privacy__container h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.kop-privacy__updated {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.kop-privacy__container section {
    margin-top: 2rem;
    border-top: 1px solid var(--kop-teal, #33A7B5);
    padding-top: 1.25rem;
}

.kop-privacy__container h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.kop-privacy__container h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.kop-privacy__container ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.kop-privacy__container a {
    color: var(--kop-teal-ink, #24757F);
}
