/**
 * DSGVO Script Manager - Cookie Banner Styles
 */

.dsm-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #ffffff;
    padding: 20px;
    z-index: 999999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

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

.dsm-cookie-banner.dsm-hiding {
    animation: slideDown 0.3s ease-out;
}

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

.dsm-cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dsm-cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

.dsm-privacy-link {
    color: #4a9eff;
    text-decoration: underline;
    margin-left: 10px;
    white-space: nowrap;
}

.dsm-privacy-link:hover {
    color: #6bb4ff;
}

.dsm-cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.dsm-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dsm-btn-accept {
    background: #28a745;
    color: #ffffff;
}

.dsm-btn-accept:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
}

.dsm-btn-reject {
    background: #6c757d;
    color: #ffffff;
}

.dsm-btn-reject:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.4);
}

.dsm-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dsm-cookie-banner {
        padding: 15px;
    }

    .dsm-cookie-banner-content {
        flex-direction: column;
        gap: 15px;
    }

    .dsm-cookie-banner-text {
        text-align: center;
    }

    .dsm-cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }

    .dsm-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .dsm-cookie-banner-text {
        font-size: 13px;
    }

    .dsm-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Cookie-Einstellungen Link Styling */
.dsm-cookie-settings-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.dsm-cookie-settings-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

