#fcg-cookie-banner,
#fcg-cookie-modal {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

#fcg-cookie-banner *,
#fcg-cookie-modal * {
    box-sizing: border-box;
}

#fcg-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: none;
    padding: 18px;
    color: #111111;
    background: #ffffff;
    border-top: 1px solid #dcdcde;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
}

#fcg-cookie-banner.fcg-visible {
    display: block;
}

.fcg-cookie-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.fcg-cookie-inner h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.3;
}

.fcg-cookie-inner p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.55;
}

.fcg-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fcg-btn {
    appearance: none;
    border: 0;
    border-radius: 5px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.fcg-btn-primary {
    color: #ffffff;
    background: #2563eb;
}

.fcg-btn-secondary {
    color: #ffffff;
    background: #111827;
}

.fcg-btn-link {
    color: #2563eb;
    background: transparent;
    padding-left: 6px;
    padding-right: 6px;
}

.fcg-privacy-link {
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: #2563eb !important;
    text-decoration: underline !important;
    vertical-align: middle;
}

.fcg-privacy-link:visited,
.fcg-privacy-link:hover,
.fcg-privacy-link:active {
    color: #2563eb !important;
}

#fcg-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

#fcg-cookie-modal.fcg-visible {
    display: flex;
}

#fcg-cookie-modal-box {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    color: #111111;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

#fcg-cookie-modal-box h3 {
    margin: 0 0 20px;
    font-size: 24px;
}

.fcg-pref-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.fcg-pref-row strong,
.fcg-pref-row small {
    display: block;
}

.fcg-pref-row small {
    margin-top: 4px;
    color: #646970;
    line-height: 1.4;
}

.fcg-small {
    margin: 16px 0;
    color: #646970;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    #fcg-cookie-banner {
        padding: 16px;
    }

    .fcg-cookie-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fcg-btn,
    .fcg-privacy-link {
        width: 100%;
        text-align: center;
    }
}