/* ===== Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #001425e8;
    color: white;
    z-index: 99999;
    padding: 1.2rem 2rem;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-content {
    /* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: white;
}
.cookie-title-th {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-left: 8px;
}
.cookie-desc {
    font-size: 0.82rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}
.cookie-desc-th {
    display: block;
    margin-top: 4px;
}
.cookie-link {
    color: #22c55e;
    text-decoration: none;
    margin-top: 6px;
    display: inline-block;
    font-size: 0.82rem;
}
.cookie-link:hover { text-decoration: underline; }

/* ===== Buttons ===== */
.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.btn-cookie-accept,
.btn-cookie-reject,
.btn-cookie-settings {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-cookie-accept {
    background: #22c55e;
    color: white;
}
.btn-cookie-accept:hover { background: #16a34a; }
.btn-cookie-reject {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #374151;
}
.btn-cookie-reject:hover { color: white; border-color: white; }
.btn-cookie-settings {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #374151;
}
.btn-cookie-settings:hover { color: white; border-color: white; }

/* ===== Modal ===== */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cookie-modal.show {
    opacity: 1;
    pointer-events: all;
}
.cookie-modal-box {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.cookie-modal.show .cookie-modal-box {
    transform: scale(1);
}
.cookie-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f3f4f6;
}
.cookie-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}
.cookie-header .th { color: #9ca3af; font-size: 0.9rem; }
.modal-close {
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #374151;
    transition: background 0.2s;
}
.modal-close:hover { background: #e5e7eb; }

/* ===== Cookie Category ===== */
.modal-body { padding: 1rem 2rem; }
.cookie-category {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.cookie-category:last-child { border-bottom: none; }
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.category-header strong {
    display: block;
    font-size: 0.95rem;
    color: #1a1a2e;
}
.category-header .th {
    font-size: 0.8rem;
    color: #9ca3af;
}
.category-header p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ===== Toggle Switch ===== */
.toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}
.toggle.disabled { opacity: 0.5; cursor: not-allowed; }
.toggle input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 999px;
    transition: background 0.3s;
}
.slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    left: 3px;
    top: 3px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle input:checked + .slider { background: #22c55e; }
.toggle input:checked + .slider::before { transform: translateX(22px); }

/* ===== Modal Footer ===== */
.modal-footer {
    display: flex;
    gap: 8px;
    padding: 1.2rem 2rem;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.modal-footer .btn-cookie-reject,
.modal-footer .btn-cookie-settings {
    color: #374151;
    border-color: #d1d5db;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
    .cookie-banner { padding: 1rem; }
    .cookie-content { gap: 1rem; }
    .cookie-actions { width: 100%; justify-content: flex-end; }
    .modal-body, .cookie-header, .modal-footer { padding: 1rem 1.2rem; }
}

/*++++ policy page ++++*/
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

@font-face {
   font-family: 'Optima';
   font-style: normal;
   font-weight: normal;
   src: local('Optima'), url('font/OPTIMA.woff') format('woff');
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

h1,
h2,
h3,
a,
button,
.txt-head {
   font-family: 'Optima';
}

h4,
p {
   font-family: 'Lato', sans-serif;
   color: #535353;
}

.policy-wrap {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    font-family: sans-serif;
    color: #374151;
    line-height: 1.8;
}
.policy-wrap h1 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.policy-wrap h1 .th { color: #9ca3af; font-size: 1.2rem; }
.last-updated { color: #9ca3af; font-size: 0.85rem; margin-bottom: 2rem; }
.policy-section h2 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
}
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.policy-table th, .policy-table td {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    text-align: left;
}
.policy-table th {
    background: #f9fafb;
    font-weight: 700;
    color: #1a1a2e;
}
.policy-table tr:hover td { background: #f9fafb; }
.policy-divider {
    margin: 3rem 0;
    border: none;
    border-top: 2px dashed #e5e7eb;
}
.policy-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.policy-actions .btn-cookie-settings:hover {
    color: #6c6f73;
    border-color: #374151;
}