.itpanda-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99980;
    padding: 16px 20px 22px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.itpanda-cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.itpanda-cookie-card {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: #fff;
    border-radius: 24px;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 18px 48px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.itpanda-cookie-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff7d6 0%, #ffe08a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.itpanda-cookie-body {
    flex: 1 1 320px;
    min-width: 0;
}

.itpanda-cookie-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.itpanda-cookie-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.itpanda-cookie-text a {
    color: #27ae60;
    font-weight: 600;
    text-decoration: none;
}

.itpanda-cookie-text a:hover {
    text-decoration: underline;
}

.itpanda-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.itpanda-cookie-btn {
    border: none;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.itpanda-cookie-btn-accept {
    background: #27ae60;
    color: #fff;
    box-shadow: 0 4px 14px rgba(39, 174, 96, 0.28);
}

.itpanda-cookie-btn-accept:hover {
    background: #219653;
    transform: translateY(-1px);
}

.itpanda-cookie-btn-details {
    background: #f1f5f9;
    color: #334155;
}

.itpanda-cookie-btn-details:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.footer-legal {
    margin: 8px 0 0;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #27ae60;
}

.footer-legal-sep {
    color: #cbd5e1;
}

.cookies-page-wrapper {
    max-width: 920px;
    margin: 0 auto;
    padding: 96px 20px 70px;
}

.cookies-legal-content {
    padding: 28px 26px;
    margin-top: 24px;
}

.cookies-legal-content h2 {
    margin: 28px 0 10px;
    font-size: 20px;
    color: #0f172a;
}

.cookies-legal-content h2:first-child {
    margin-top: 0;
}

.cookies-legal-content p,
.cookies-legal-content li {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

.cookies-legal-content ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.cookies-legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 18px;
    font-size: 14px;
}

.cookies-legal-content th,
.cookies-legal-content td {
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.cookies-legal-content th {
    background: #f8fafc;
    color: #0f172a;
}

.cookies-revoke-btn {
    margin-top: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.cookies-revoke-btn:hover {
    border-color: #27ae60;
    color: #27ae60;
}

@media (max-width: 820px) {
    .itpanda-cookie-banner {
        padding: 12px 12px 16px;
    }

    .itpanda-cookie-card {
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px 16px 18px;
        border-radius: 20px;
    }

    .itpanda-cookie-icon {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .itpanda-cookie-body {
        flex: 1 1 calc(100% - 60px);
    }

    .itpanda-cookie-actions {
        width: 100%;
    }

    .itpanda-cookie-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .itpanda-cookie-actions {
        flex-direction: column;
    }

    .itpanda-cookie-btn {
        width: 100%;
    }
}
