#gnius-policy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gnius-policy-container {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80dvh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gnius-policy-header {
    padding: 24px 28px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.gnius-policy-header h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.gnius-policy-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.gnius-policy-content {
    padding: 20px 28px;
    overflow-y: auto;
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
}

.gnius-policy-content h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
}

.gnius-policy-content p {
    margin: 0 0 12px;
}

.gnius-policy-content p strong {
    color: #1a1a2e;
}

.gnius-policy-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.gnius-policy-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gnius-policy-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
}

.gnius-policy-checkbox-label a {
    color: #2563eb;
    text-decoration: underline;
}

.gnius-policy-checkbox-label a:hover {
    color: #1d4ed8;
}

.gnius-policy-declaration {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.gnius-policy-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
    flex-shrink: 0;
}

#gnius-policy-accept-btn {
    width: 100%;
    padding: 12px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#gnius-policy-accept-btn:hover:not(:disabled) {
    background: #1d4ed8;
}

#gnius-policy-accept-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .gnius-policy-container {
        width: 95%;
        max-height: 75dvh;
    }

    .gnius-policy-header,
    .gnius-policy-content,
    .gnius-policy-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gnius-policy-footer {
        padding-bottom: 20px;
    }

    .gnius-policy-checkbox-label {
        font-size: 12px;
    }
}
