/* Kaffee Faensen - Cookie Consent Styles */

/* Banner Container */
.cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-top: 1px solid #E5DED6;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 24px;
    font-family: 'Lora', serif;
    animation: cc-slideUp 0.5s ease-out;
}

@keyframes cc-slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cc-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.cc-banner-text {
    flex: 1;
    min-width: 300px;
}

.cc-banner-text h3 {
    font-family: 'Patua One', serif;
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #593F33;
}

.cc-banner-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2D2520;
}

.cc-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Buttons */
.cc-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Patua One', serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.cc-btn-primary {
    background: #D1541D;
    color: white;
}

.cc-btn-primary:hover {
    background: #B8461A;
}

.cc-btn-secondary {
    background: #FAF8F5;
    border: 1px solid #E5DED6;
    color: #593F33;
}

.cc-btn-secondary:hover {
    background: #E5DED6;
}

.cc-btn-link {
    background: transparent;
    color: #6B5D57;
    text-decoration: underline;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .cc-banner-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cc-btn {
        width: 100%;
    }
}

/* Modal */
.cc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
    animation: cc-fadeIn 0.3s ease-out;
}

@keyframes cc-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cc-modal {
    background: white;
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.cc-modal-header {
    padding: 24px;
    border-bottom: 1px solid #E5DED6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-modal-header h2 {
    font-family: 'Patua One', serif;
    font-size: 24px;
    margin: 0;
    color: #593F33;
}

.cc-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6B5D57;
}

.cc-modal-body {
    padding: 24px;
    overflow-y: auto;
}

.cc-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F0EBE7;
}

.cc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cc-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.cc-section h4 {
    margin: 0;
    font-family: 'Patua One', serif;
    font-size: 16px;
    color: #2D2520;
}

.cc-section p {
    margin: 0 0 0 56px;
    font-size: 14px;
    color: #6B5D57;
    line-height: 1.5;
}

.cc-modal-footer {
    padding: 16px 24px;
    background: #FAF8F5;
    border-top: 1px solid #E5DED6;
    text-align: right;
}

/* Switch */
.cc-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    flex-shrink: 0;
}

.cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cc-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cc-slider {
    background-color: #D1541D;
}

input:checked + .cc-slider:before {
    transform: translateX(16px);
}

input:disabled + .cc-slider {
    background-color: #B2B2B2;
    cursor: not-allowed;
    opacity: 0.7;
}
