/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px 0;
    border-top: 3px solid #fe0034;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-notice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-notice-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-notice-text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1f1f1f;
    min-width: 300px;
}

.cookie-notice-text a {
    color: #fe0034;
    text-decoration: underline;
}

.cookie-notice-text a:hover {
    text-decoration: none;
}

.cookie-notice-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.btn-accept {
    background-color: #fe0034;
    color: #fff;
}

.btn-accept:hover {
    background-color: #d6002b;
}

.btn-reject {
    background-color: #f0f1f2;
    color: #1f1f1f;
}

.btn-reject:hover {
    background-color: #e0e1e2;
}

.btn-settings {
    background-color: transparent;
    color: #fe0034;
    border: 2px solid #fe0034;
}

.btn-settings:hover {
    background-color: #fe0034;
    color: #fff;
}

/* Cookie Settings Modal Styles */
.cookie-settings-description {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
    color: #1f1f1f;
}

.cookie-settings-group {
    margin-bottom: 20px;
}

.cookie-setting-item {
    padding: 20px;
    border: 1px solid #e0e1e2;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.cookie-setting-item:last-child {
    margin-bottom: 0;
}

.cookie-setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-setting-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    color: #1f1f1f;
}

.cookie-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-checkbox-label {
    cursor: pointer;
}

.cookie-setting-toggle {
    position: relative;
    display: inline-block;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    appearance: none;
    background-color: #ccc;
    border-radius: 24px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-toggle:checked {
    background-color: #fe0034;
}

.cookie-toggle:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle:checked:before {
    transform: translateX(26px);
}

.cookie-setting-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

#cookie-necessary-toggle:disabled,
#cookie-necessary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-notice-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-notice-text {
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    .cookie-notice-buttons {
        justify-content: stretch;
    }
    
    .btn-cookie {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-setting-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-setting-toggle {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        padding: 15px 0;
    }
    
    .cookie-notice-buttons {
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
    }
    
    .cookie-notice-text {
        font-size: 13px;
    }
}

