﻿:root {
    --cc-font-family: "Inter", Arial, sans-serif;
    --cc-bg: #ffffff;
    --cc-text: #1f2937;
    --cc-muted: #6b7280;
    --cc-primary: #1e756f;
    --cc-primary-hover: #155f5a;
    --cc-border: #e5e7eb;
    --cc-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
    --cc-radius: 18px;
}

.cc-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    font-family: var(--cc-font-family);
}

.cc-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 20px;
    background: var(--cc-bg);
    color: var(--cc-text);
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    display: flex;
    gap: 18px;
    align-items: center;
}

.cc-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.cc-content {
    flex: 1;
}

.cc-title {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.cc-message {
    margin: 0;
    font-size: 0.92rem;
    color: var(--cc-muted);
    line-height: 1.45;
}

.cc-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--cc-primary);
    font-size: 0.9rem;
    text-decoration: none;
}

    .cc-link:hover {
        text-decoration: underline;
    }

.cc-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cc-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

.cc-btn-accept {
    background: var(--cc-primary);
    color: #ffffff;
}

    .cc-btn-accept:hover {
        background: var(--cc-primary-hover);
    }

.cc-btn-reject {
    background: #f3f4f6;
    color: var(--cc-text);
}

    .cc-btn-reject:hover {
        background: #e5e7eb;
    }

.cc-hide {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (max-width: 768px) {
    .cc-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cc-actions {
        width: 100%;
        flex-direction: column-reverse;
    }

    .cc-btn {
        width: 100%;
    }
}
