/* Cookie Banner Frontend Styles */
.nfcb-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    background-color: var(--nfcb-bg);
    color: var(--nfcb-text);
    padding: var(--nfcb-padding);
    font-size: var(--nfcb-font-size);
    line-height: 1.5;
    z-index: 999999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Position variants */
.nfcb-bottom {
    bottom: 0;
}

.nfcb-top {
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nfcb-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Style variants */
.nfcb-style-box {
    margin: 20px;
    border-radius: 8px;
}

.nfcb-style-floating {
    margin: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Container */
.nfcb-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Content layout */
.nfcb-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.nfcb-text {
    flex: 1;
    min-width: 300px;
}

.nfcb-text a {
    color: var(--nfcb-btn-bg);
    text-decoration: underline;
}

.nfcb-text a:hover {
    text-decoration: none;
}

/* Buttons */
.nfcb-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nfcb-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nfcb-accept {
    background-color: var(--nfcb-btn-bg);
    color: var(--nfcb-btn-text);
}

.nfcb-accept:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nfcb-decline {
    background-color: #666;
    color: #fff;
}

.nfcb-decline:hover {
    background-color: #555;
}

.nfcb-settings {
    background-color: transparent;
    color: var(--nfcb-text);
    border: 1px solid currentColor;
}

.nfcb-settings:hover {
    background-color: var(--nfcb-text);
    color: var(--nfcb-bg);
}

/* Responsive */
@media (max-width: 768px) {
    .nfcb-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nfcb-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .nfcb-btn {
        flex: 1;
        min-width: 100px;
    }
}

/* Animation */
.nfcb-cookie-banner {
    animation: slideUp 0.3s ease-out;
}

.nfcb-top {
    animation: slideDown 0.3s ease-out;
}

.nfcb-center {
    animation: fadeIn 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}