.itcc-banner,
.itcc-banner * {
    box-sizing: border-box;
}

.itcc-banner {
    position: fixed;
    z-index: 99999;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-top: 1px solid #e2e2e2;
    background: #ffffff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}

.itcc-banner__text {
    flex: 1 1 320px;
    min-width: 0;
    margin: 0;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.itcc-banner__policy {
    margin-left: 4px;
    color: #0a4d8f;
    text-decoration: underline;
}

.itcc-banner__actions {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.itcc-banner__button {
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.itcc-banner__button--refuse {
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    background: #ffffff;
}

.itcc-banner__button--accept {
    border: 1px solid #1a8f4c;
    color: #ffffff;
    background: #1a8f4c;
}

body.home.itcc-banner-visible {
    padding-bottom: var(--itcc-banner-height, 0px);
}

@media (max-width: 620px) {
    .itcc-banner {
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }

    .itcc-banner__text {
        flex-basis: 100%;
    }

    .itcc-banner__actions {
        flex: 1 1 100%;
    }

    .itcc-banner__button {
        flex: 1 1 140px;
    }
}

@media (max-width: 360px) {
    .itcc-banner {
        padding: 12px;
    }

    .itcc-banner__actions {
        flex-direction: column;
    }

    .itcc-banner__button {
        flex-basis: auto;
        width: 100%;
    }
}
