/**
 * VON FOEST Immobilien - Cookie Consent Styles
 */

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 33, 33, 0.98);
    color: #fff;
    padding: 20px;
    z-index: 99999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

#cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-text h4 {
    color: #b8860b;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cookie-banner-text h4 i {
    margin-right: 8px;
}

.cookie-banner-text p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
}

/* Cookie Optionen */
.cookie-banner-options {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.cookie-option {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ddd;
    font-size: 0.9rem;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #b8860b;
    cursor: pointer;
}

.cookie-option strong {
    color: #fff;
    margin-right: 8px;
}

/* Buttons */
.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-banner-save {
    margin-bottom: 15px;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-cookie-all {
    background: #b8860b;
    color: #fff;
}

.btn-cookie-all:hover {
    background: #996e0a;
}

.btn-cookie-necessary {
    background: transparent;
    border: 1px solid #b8860b;
    color: #b8860b;
}

.btn-cookie-necessary:hover {
    background: rgba(184, 134, 11, 0.1);
}

.btn-cookie-settings {
    background: transparent;
    border: 1px solid #666;
    color: #999;
}

.btn-cookie-settings:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Links */
.cookie-banner-link {
    font-size: 0.85rem;
    color: #888;
}

.cookie-banner-link a {
    color: #b8860b;
    text-decoration: none;
}

.cookie-banner-link a:hover {
    text-decoration: underline;
}

/* Cookie Settings Page */
.cookie-settings-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cookie-category h5 {
    color: #333;
    font-size: 1.1rem;
}

.cookie-category .badge {
    font-size: 0.7rem;
    font-weight: normal;
}

.cookie-category p {
    font-size: 0.95rem;
}

.cookie-category small {
    font-size: 0.8rem;
}

/* Form Switch größer */
.cookie-category .form-check-input {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
}

.cookie-category .form-check-input:checked {
    background-color: #b8860b;
    border-color: #b8860b;
}

.cookie-category .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-text h4 {
        font-size: 1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.85rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
        text-align: center;
    }
    
    .cookie-settings-box {
        padding: 20px;
    }
}
