/* Çerez bildirimi — renkler: :root (--orvix-cc-*) JS ile atanır */

.orvix-cc__copy {
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
    color: var(--orvix-cc-text, #1e3a5f);
}

.orvix-cc__policy {
    font-weight: 700;
    color: var(--orvix-cc-link, #1e3a5f);
    text-decoration: none;
}

.orvix-cc__policy strong {
    font-weight: 700;
    color: var(--orvix-cc-link, #1e3a5f);
}

#orvix-cc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100200;
    display: flex;
    justify-content: center;
    pointer-events: none;
    padding: 0 max(14px, env(safe-area-inset-right)) var(--orvix-cc-desk-bottom, 108px)
        max(14px, env(safe-area-inset-left));
}

#orvix-cc .orvix-cc-panel {
    pointer-events: auto;
    width: 100%;
    max-width: min(420px, calc(100vw - 28px));
    background: var(--orvix-cc-bg, #fff);
    border: 1px solid var(--orvix-cc-border, #e2e8f0);
    border-radius: 14px;
    box-shadow: var(--orvix-cc-shadow, 0 8px 28px rgba(15, 23, 42, 0.1));
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.orvix-cc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orvix-cc-icon--sm {
    width: 28px;
    height: 28px;
}

.orvix-cc-text-col {
    flex: 1;
    min-width: 0;
}

.orvix-cc-accept-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: var(--orvix-cc-btn, #3762ea);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(55, 98, 234, 0.35);
}

#orvix-cc-fab {
    position: fixed;
    z-index: 100200;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid var(--orvix-cc-border, #e2e8f0);
    border-radius: 16px;
    background: var(--orvix-cc-bg, #fff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

#orvix-cc-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 100198;
}

#orvix-cc-dialog {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100199;
    width: min(360px, calc(100vw - 32px));
    max-width: 360px;
    background: var(--orvix-cc-bg, #fff);
    border: 1px solid var(--orvix-cc-border, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    padding: 20px;
    box-sizing: border-box;
}

.orvix-cc-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 10px;
}

.orvix-cc-dialog-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.orvix-cc-dialog-title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    color: var(--orvix-cc-text, #1e3a5f);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orvix-cc-dialog-close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 28px;
    height: 28px;
    width: 32px;
    flex-shrink: 0;
    opacity: 0.45;
    padding: 0;
    outline: none;
}

.orvix-cc-dialog-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.orvix-cc-accept-btn {
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    background: var(--orvix-cc-btn, #3762ea);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    outline: none;
}

html.orvix-cc--open {
    overflow: hidden;
}
